mirror of https://github.com/google/benchmark.git
another reversal of something that breaks on wasm
This commit is contained in:
parent
299a8b881d
commit
44507bc91f
|
@ -558,9 +558,8 @@ int GetNumCPUsImpl() {
|
||||||
int GetNumCPUs() {
|
int GetNumCPUs() {
|
||||||
const int num_cpus = GetNumCPUsImpl();
|
const int num_cpus = GetNumCPUsImpl();
|
||||||
if (num_cpus < 1) {
|
if (num_cpus < 1) {
|
||||||
PrintErrorAndDie(
|
std::cerr << "Unable to extract number of CPUs. If your platform uses "
|
||||||
"Unable to extract number of CPUs. If your platform uses "
|
"/proc/cpuinfo, custom support may need to be added.\n";
|
||||||
"/proc/cpuinfo, custom support may need to be added.");
|
|
||||||
}
|
}
|
||||||
return num_cpus;
|
return num_cpus;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue