FrameTimingMetric

public final class FrameTimingMetric extends Metric

Object
   ↳ Metric
     ↳ FrameTimingMetric

Metric which captures timing information from frames produced by a benchmark, such as a scrolling or animation benchmark.

This outputs the following measurements:

  • frameOverrunMs (Requires API 29) - How much time a given frame missed its deadline by. Positive numbers indicate a dropped frame and visible jank / stutter, negative numbers indicate how much faster than the deadline a frame was.

  • frameCpuTimeMs - How much time the frame took to be produced on the CPU - on both the UI Thread, and RenderThread.

Summary

Public constructors

Public constructors

FrameTimingMetric

public final FrameTimingMetric()