mirror of
https://github.com/google/benchmark.git
synced 2025-04-17 23:12:30 +08:00
Spacing adjustment
This commit is contained in:
parent
e0ef58bc71
commit
9bf12df589
@ -484,9 +484,9 @@ int GetNumCPUsImpl() {
|
||||
int num_cpu = -1;
|
||||
constexpr auto* hwncpu =
|
||||
#ifdef HW_NCPUONLINE
|
||||
"hw.ncpuonline";
|
||||
"hw.ncpuonline";
|
||||
#else
|
||||
"hw.ncpu";
|
||||
"hw.ncpu";
|
||||
#endif
|
||||
if (GetSysctl(hwncpu, &num_cpu)) return num_cpu;
|
||||
PrintErrorAndDie("Err: ", strerror(errno));
|
||||
|
Loading…
Reference in New Issue
Block a user