Use std:🧵:hardware_concurrency for all platforms.

This commit is contained in:
Tom Lally 2022-09-02 10:29:13 +01:00
parent 5303f8011d
commit 64772d4313
3 changed files with 5 additions and 12 deletions

View file

@ -7,11 +7,6 @@
#include <string>
uint32 GetProcessorCount()
{
return std::thread::hardware_concurrency();
}
uint64 QueryRamUsage()
{
long page_size = sysconf(_SC_PAGESIZE);