We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 706190c commit 15ab362Copy full SHA for 15ab362
source/benchmark/system.cpp
@@ -209,7 +209,7 @@ std::pair<int, int> System::CpuTotalCores()
209
}
210
211
size_t logical = cores.size();
212
- long physical = sysconf(_SC_N2PROCESSORS_ONLN);
+ long physical = sysconf(_SC_NPROCESSORS_ONLN);
213
return std::make_pair(logical, physical);
214
#elif defined(_WIN32) || defined(_WIN64)
215
BOOL allocated = FALSE;
0 commit comments