Loading libs/hwui/tests/macrobench/TestSceneRunner.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -112,9 +112,9 @@ void run(const TestScene::Info& info, const TestScene::Options& opts) { scene->doFrame(i); proxy->syncAndDrawFrame(); } if (opts.reportFrametimeWeight) { proxy->fence(); nsecs_t done = systemTime(CLOCK_MONOTONIC); if (opts.reportFrametimeWeight) { avgMs.add((done - vsync) / 1000000.0); if (i % 10 == 9) { printf("Average frametime %.3fms\n", avgMs.average()); Loading Loading
libs/hwui/tests/macrobench/TestSceneRunner.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -112,9 +112,9 @@ void run(const TestScene::Info& info, const TestScene::Options& opts) { scene->doFrame(i); proxy->syncAndDrawFrame(); } if (opts.reportFrametimeWeight) { proxy->fence(); nsecs_t done = systemTime(CLOCK_MONOTONIC); if (opts.reportFrametimeWeight) { avgMs.add((done - vsync) / 1000000.0); if (i % 10 == 9) { printf("Average frametime %.3fms\n", avgMs.average()); Loading