Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7c2107b1 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Private API became public...

...but is now automatically called by the Context constructor.

Bug: N/A
Test: builds
Change-Id: Ic78bc4561adfec5047ed45589b8b936c506bd2b2
parent 0d75603e
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -21,7 +21,6 @@
#include "hwui/Typeface.h"
#include "protos/hwui.pb.h"

#include <../src/sysinfo.h>
#include <benchmark/benchmark.h>
#include <getopt.h>
#include <pthread.h>
@@ -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);
    }