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

Commit bb55b7f4 authored by Alec Mouri's avatar Alec Mouri
Browse files

Add global frame histograms into SF atoms

Adding CPU and GPU histograms for regression tracking.

Bug: 144037240
Test: builds
Change-Id: I2f9aec93a78c9a28a8a393c3fc70eec6e8927f91
parent 4d5b0be4
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -8000,6 +8000,18 @@ message SurfaceflingerStatsGlobalInfo {
    // of this pull. If this number grows prohibitively large, then this can
    // cause jank due to resource contention.
    optional int32 event_connection_count = 6;
    // Set of timings measured from when SurfaceFlinger began compositing a
    // frame, until the frame was requested to be presented to the display. This
    // measures SurfaceFlinger's total CPU walltime on the critical path per
    // frame.
    optional FrameTimingHistogram frame_duration = 7
        [(android.os.statsd.log_mode) = MODE_BYTES];
    // Set of timings measured from when SurfaceFlinger first began using the
    // GPU to composite a frame, until the GPU has finished compositing that
    // frame. This measures the total additional time SurfaceFlinger needed to
    // perform due to falling back into GPU composition.
    optional FrameTimingHistogram render_engine_timing = 8
        [(android.os.statsd.log_mode) = MODE_BYTES];
}

/**