diff options
author | Siva Chandra Reddy <sivachandra@google.com> | 2021-11-16 22:23:33 +0000 |
---|---|---|
committer | Siva Chandra Reddy <sivachandra@google.com> | 2021-11-16 22:24:49 +0000 |
commit | 39e9f5d3685f3cfca0df072928ad96d973704dff (patch) | |
tree | d731482c55615a33bb3a77a42748db7bb5aafbb6 /libc/benchmarks | |
parent | 25bcd94234530955c58c6530a9271c813827637c (diff) | |
download | llvm-39e9f5d3685f3cfca0df072928ad96d973704dff.zip llvm-39e9f5d3685f3cfca0df072928ad96d973704dff.tar.gz llvm-39e9f5d3685f3cfca0df072928ad96d973704dff.tar.bz2 |
[libc][NFC][Obvious] Fix the benchmarks after the switch to llvm/third-party
Diffstat (limited to 'libc/benchmarks')
-rw-r--r-- | libc/benchmarks/LibcBenchmark.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/benchmarks/LibcBenchmark.cpp b/libc/benchmarks/LibcBenchmark.cpp index cef595d..621e046 100644 --- a/libc/benchmarks/LibcBenchmark.cpp +++ b/libc/benchmarks/LibcBenchmark.cpp @@ -15,7 +15,7 @@ namespace libc_benchmarks { void checkRequirements() { const auto &CpuInfo = benchmark::CPUInfo::Get(); - if (CpuInfo.scaling_enabled) + if (CpuInfo.scaling == benchmark::CPUInfo::ENABLED) report_fatal_error( "CPU scaling is enabled, the benchmark real time measurements may be " "noisy and will incur extra overhead."); |