mirror of
https://github.com/google/benchmark.git
synced 2025-04-17 23:12:30 +08:00
Update error message now that /proc/cpuinfo is no longer in use
c24774dc4f
removed using /proc/cpuinfo
so no longer mention it in the error message.
This commit is contained in:
parent
4a805f9f0f
commit
8aaf4557e1
@ -515,8 +515,7 @@ int GetNumCPUsImpl() {
|
||||
int GetNumCPUs() {
|
||||
int num_cpus = GetNumCPUsImpl();
|
||||
if (num_cpus < 1) {
|
||||
std::cerr << "Unable to extract number of CPUs. If your platform uses "
|
||||
"/proc/cpuinfo, custom support may need to be added.\n";
|
||||
std::cerr << "Unable to extract number of CPUs.\n";
|
||||
/* There is at least one CPU which we run on. */
|
||||
num_cpus = 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user