belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1
FrameMetricsAggregator
public
class
FrameMetricsAggregator
extends Object
java.lang.Object | |
↳ | android.support.v4.app.FrameMetricsAggregator |
This class can be used to record and return data about per-frame durations. It returns those
results in an array per metric type, with the results indicating how many samples were
recorded for each duration value. The details of the durations data are described in
getMetrics()
.
For more information on the various metrics tracked, see the documentation for the FrameMetrics API added in API 24 as well as the GPU Profiling guide.
Summary
Constants | |
---|---|
int |
ANIMATION_DURATION
A flag indicating that the metrics should track the animation duration. |
int |
ANIMATION_INDEX
The index in the metrics array where the data for |
int |
COMMAND_DURATION
A flag indicating that the metrics should track the command duration. |
int |
COMMAND_INDEX
The index in the metrics array where the data for |
int |
DELAY_DURATION
A flag indicating that the metrics should track the delay duration. |
int |
DELAY_INDEX
The index in the metrics array where the data for |
int |
DRAW_DURATION
A flag indicating that the metrics should track the draw duration. |
int |
DRAW_INDEX
The index in the metrics array where the data for |
int |
EVERY_DURATION
A flag indicating that the metrics should track all durations. |
int |
INPUT_DURATION
A flag indicating that the metrics should track the input duration. |
int |
INPUT_INDEX
The index in the metrics array where the data for |
int |
LAYOUT_MEASURE_DURATION
A flag indicating that the metrics should track the layout duration. |
int |
LAYOUT_MEASURE_INDEX
The index in the metrics array where the data for |
int |
SWAP_DURATION
A flag indicating that the metrics should track the swap duration. |
int |
SWAP_INDEX
The index in the metrics array where the data for |
int |
SYNC_DURATION
A flag indicating that the metrics should track the sync duration. |
int |
SYNC_INDEX
The index in the metrics array where the data for |
int |
TOTAL_DURATION
A flag indicating that the metrics should track the total duration. |
int |
TOTAL_INDEX
The index in the metrics array where the data for |
Public constructors | |
---|---|
FrameMetricsAggregator |