Return a ComputedFrameMetrics object, containing lens performance metrics.
This method may be called multiple times, each time reporting values computed since the time when this instance was created.
Reset the measured performance statistics (averages, std deviations). This is equivalent to using LensPerformanceMetrics.beginMeasurement to create a new LensPerformanceMeasurement instance, but may be more convenient.
Stop measuring performance statistics.
This instance will not be garbage collected until this method is called. Therefore it is important to call this method at the appropriate time to avoid leaking memory -- particularly if your application creates many LensPerformanceMeasurement instances.
Represents an ongoing measurement of rendering metrics.
An instance of this class is obtained by calling LensPerformanceMetrics.beginMeasurement. Then it may be used to record rendering performance metrics, reset measurement, or end the measurement.