We use the SHGetValueA on Windows to retrieve the MHz of the processor but this requires the shlwapi library. Previous to this patch the library was linked with a MSVC specific pragma but there is no guarantee that on Windows we will be using MSVC. Therefore, it is much compile agnostic to use the standard CMAKE library linking mechanism to provide the definition of SHGetValueA
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| CMakeLists.txt | Loading commit data... | |
| arraysize.h | Loading commit data... | |
| benchmark.cc | Loading commit data... | |
| check.h | Loading commit data... | |
| colorprint.cc | Loading commit data... | |
| colorprint.h | Loading commit data... | |
| commandlineflags.cc | Loading commit data... | |
| commandlineflags.h | Loading commit data... | |
| console_reporter.cc | Loading commit data... | |
| csv_reporter.cc | Loading commit data... | |
| cycleclock.h | Loading commit data... | |
| internal_macros.h | Loading commit data... | |
| json_reporter.cc | Loading commit data... | |
| log.cc | Loading commit data... | |
| log.h | Loading commit data... | |
| mutex.h | Loading commit data... | |
| re.h | Loading commit data... | |
| re_posix.cc | Loading commit data... | |
| re_std.cc | Loading commit data... | |
| reporter.cc | Loading commit data... | |
| sleep.cc | Loading commit data... | |
| sleep.h | Loading commit data... | |
| stat.h | Loading commit data... | |
| string_util.cc | Loading commit data... | |
| string_util.h | Loading commit data... | |
| sysinfo.cc | Loading commit data... | |
| sysinfo.h | Loading commit data... | |
| walltime.cc | Loading commit data... | |
| walltime.h | Loading commit data... |