mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-07 15:31:18 +12:00
Use std:🧵:hardware_concurrency for all platforms.
This commit is contained in:
parent
5303f8011d
commit
64772d4313
3 changed files with 5 additions and 12 deletions
|
@ -7,11 +7,6 @@
|
|||
|
||||
#include <string>
|
||||
|
||||
uint32 GetProcessorCount()
|
||||
{
|
||||
return std::thread::hardware_concurrency();
|
||||
}
|
||||
|
||||
uint64 QueryRamUsage()
|
||||
{
|
||||
long page_size = sysconf(_SC_PAGESIZE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue