mirror of
https://github.com/google/benchmark.git
synced 2025-03-10 01:00:08 +08:00
Fix missing SYSTEM_INFO initializers
This commit is contained in:
parent
3b2d0abd2b
commit
a2ca94dd10
@ -253,7 +253,7 @@ void InitializeSystemInfo() {
|
||||
else
|
||||
cpuinfo_cycles_per_second = static_cast<double>(EstimateCyclesPerSecond());
|
||||
|
||||
SYSTEM_INFO sysinfo = { 0 };
|
||||
SYSTEM_INFO sysinfo = {};
|
||||
GetSystemInfo(&sysinfo);
|
||||
cpuinfo_num_cpus = sysinfo.dwNumberOfProcessors; // number of logical processors in the current group
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user