1
0
forked from 0ad/0ad
0ad/source/lib/sysdep/unix/ucpu.h
janwas 73683b6109 # SwEng
. the massive renaming undertaking: camelCase functions -> PascalCase.
. add some cppdoc.
. minor additional renaming improvements: e.g. GetIsClosed -> IsClosed
. in entity code, replace constructs like "pvec = new vector; return
pvec; use *pvec; delete pvec" with a simple stack variable passed as
output parameter (avoid unnecessary dynamic allocs)
. timer: simpler handling of raw ticks vs normal timer (less #if)

This was SVN commit r5017.
2007-05-02 12:07:08 +00:00

12 lines
291 B
C

#ifndef INCLUDED_UCPU
#define INCLUDED_UCPU
#include "lib/sysdep/cpu.h"
extern int ucpu_IsThrottlingPossible();
extern int ucpu_NumPackages();
extern double ucpu_ClockFrequency();
extern LibError ucpu_CallByEachCPU(CpuCallback cb, void* param);
#endif // #ifndef INCLUDED_UCPU