0ad/source/lib/sysdep/win/wcpu.h
janwas 452d67f0b7 # vista compat (fixes wsnd issue) and improvements
lib: move IsSimilarMagnitude and downcasters here from single modules
where they're used
acpi: simplify by only using v1.0 or 2.0 tables
snd: add note on why OpenAL can't be used
mahaf: change prefix
wcpu: cache results, reinstate wcpu_ClockFrequency
win: add winreg.h for registry functions
wsnd: only do the DSound thing on non-vista (and delay-load to avoid
overhead)
wutil: add code to correctly detect windows version

This was SVN commit r5090.
2007-05-26 15:34:10 +00:00

22 lines
607 B
C

/**
* =========================================================================
* File : wcpu.h
* Project : 0 A.D.
* Description : Windows backend for CPU related code
* =========================================================================
*/
// license: GPL; see lib/license.txt
#ifndef INCLUDED_WCPU
#define INCLUDED_WCPU
#include "lib/sysdep/cpu.h"
extern uint wcpu_NumProcessors();
extern double wcpu_ClockFrequency();
extern int wcpu_IsThrottlingPossible();
extern LibError wcpu_CallByEachCPU(CpuCallback cb, void* param);
#endif // #ifndef INCLUDED_WCPU