Skip to content

Commit 67de95b

Browse files
committed
Revert "[libc][NFC][Obvious] Fix the benchmarks after the switch to llvm/third-party"
This reverts commit 39e9f5d. Reverting, as we needed to re-revert the benchmarks move because it was causing a build failure in the Fuchsia bots due to the way they consume libcxx's CMakeLists. I want to make sure I understand where the fix should be for that. After that, I'll incorporate the change here in the re-reland.
1 parent 00e11fd commit 67de95b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/benchmarks/LibcBenchmark.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace libc_benchmarks {
1515

1616
void checkRequirements() {
1717
const auto &CpuInfo = benchmark::CPUInfo::Get();
18-
if (CpuInfo.scaling == benchmark::CPUInfo::ENABLED)
18+
if (CpuInfo.scaling_enabled)
1919
report_fatal_error(
2020
"CPU scaling is enabled, the benchmark real time measurements may be "
2121
"noisy and will incur extra overhead.");

0 commit comments

Comments
 (0)