From 7c2107b1fa2d56efc9563598d95f500e61b857c1 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 13 Dec 2017 22:06:56 -0800 Subject: Private API became public... ...but is now automatically called by the Context constructor. Bug: N/A Test: builds Change-Id: Ic78bc4561adfec5047ed45589b8b936c506bd2b2 --- libs/hwui/tests/macrobench/main.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libs/hwui/tests/macrobench/main.cpp b/libs/hwui/tests/macrobench/main.cpp index dd4ca6eb87cb..616558f29676 100644 --- a/libs/hwui/tests/macrobench/main.cpp +++ b/libs/hwui/tests/macrobench/main.cpp @@ -21,7 +21,6 @@ #include "hwui/Typeface.h" #include "protos/hwui.pb.h" -#include <../src/sysinfo.h> #include #include #include @@ -320,9 +319,6 @@ int main(int argc, char* argv[]) { name_field_width += 5; benchmark::BenchmarkReporter::Context context; - context.num_cpus = benchmark::NumCPUs(); - context.mhz_per_cpu = benchmark::CyclesPerSecond() / 1000000.0f; - context.cpu_scaling_enabled = benchmark::CpuScalingEnabled(); context.name_field_width = name_field_width; gBenchmarkReporter->ReportContext(context); } -- cgit v1.2.3-59-g8ed1b