(svn r23481) -Add: Function to get the CPU core count.

This commit is contained in:
michi_cc
2011-12-10 16:54:41 +00:00
parent 0ca25fb3af
commit a0f3649c1a
5 changed files with 67 additions and 0 deletions

View File

@@ -88,4 +88,10 @@ public:
virtual void SendSignal() = 0;
};
/**
* Get number of processor cores in the system, including HyperThreading or similar.
* @return Total number of processor cores.
*/
uint GetCPUCoreCount();
#endif /* THREAD_H */