0ad/source/lib/cpu.h
janwas 0eeca662cc split stuff out into cpu, os, gfx interfaces
This was SVN commit r557.
2004-06-19 14:45:04 +00:00

18 lines
No EOL
349 B
C
Executable file

#ifdef __cplusplus
extern "C" {
#endif
extern char cpu_type[];
extern double cpu_freq;
// -1 if detect not yet called, or cannot be determined
extern int cpus;
extern int cpu_speedstep;
extern int cpu_smp;
// are there actually multiple physical processors,
// not only logical hyperthreaded CPUs? relevant for wtime.
#ifdef __cplusplus
}
#endif