Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
cpu.h File Reference
Include dependency graph for cpu.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ERR
 

Functions

const char * cpu_IdentifierString ()
 Routines specific to E2K (MCST Elbrus 2000) More...
 
void cpu_Pause ()
 pause in spin-wait loops, as a performance optimisation. More...
 

Variables

const Status ERR::CPU_FEATURE_MISSING = -130000
 
const Status ERR::CPU_UNKNOWN_OPCODE = -130001
 
const Status ERR::CPU_UNKNOWN_VENDOR = -130002
 

Function Documentation

◆ cpu_IdentifierString()

const char * cpu_IdentifierString ( )

Routines specific to E2K (MCST Elbrus 2000)

Returns
string identifying the CPU (usually a cleaned-up version of the brand string)

◆ cpu_Pause()

void cpu_Pause ( )
inline

pause in spin-wait loops, as a performance optimisation.