From: Elliott Hughes Date: Thu, 14 Dec 2017 06:06:56 +0000 (-0800) Subject: Private API became public... X-Git-Tag: android-x86-9.0-r1~288^2~8^2^2^2^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=7c2107b1fa2d56efc9563598d95f500e61b857c1;p=android-x86%2Fframeworks-base.git Private API became public... ...but is now automatically called by the Context constructor. Bug: N/A Test: builds Change-Id: Ic78bc4561adfec5047ed45589b8b936c506bd2b2 --- 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); }