forked from 0ad/0ad
janwas
73683b6109
. 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.
12 lines
294 B
C
12 lines
294 B
C
#ifndef INCLUDED_WCPU
|
|
#define INCLUDED_WCPU
|
|
|
|
#include "lib/sysdep/cpu.h"
|
|
|
|
extern uint wcpu_NumProcessors();
|
|
extern int wcpu_IsThrottlingPossible();
|
|
extern double wcpu_ClockFrequency();
|
|
extern LibError wcpu_CallByEachCPU(CpuCallback cb, void* param);
|
|
|
|
#endif // #ifndef INCLUDED_WCPU
|