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

Commit fdbc795e authored by Chris Craik's avatar Chris Craik Committed by Android (Google) Code Review
Browse files

Merge "Remove unnecessary fence in macrobench"

parents 4cf5a49e 2705c983
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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());