mirror of
https://github.com/google/benchmark.git
synced 2024-11-26 16:31:54 +00: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 a new issue