Codechange: C++11 STL has a function for getting the number of CPU cores.
This commit is contained in:
@@ -725,14 +725,6 @@ const char *GetCurrentLocale(const char *)
|
||||
return retbuf;
|
||||
}
|
||||
|
||||
uint GetCPUCoreCount()
|
||||
{
|
||||
SYSTEM_INFO info;
|
||||
|
||||
GetSystemInfo(&info);
|
||||
return info.dwNumberOfProcessors;
|
||||
}
|
||||
|
||||
|
||||
static WCHAR _cur_iso_locale[16] = L"";
|
||||
|
||||
|
Reference in New Issue
Block a user