Interface PerformanceSnapshot.MetricStatistics
- Enclosing interface:
- PerformanceSnapshot
public static interface PerformanceSnapshot.MetricStatistics
Read-only aggregate values for one metric over retained frames.
-
Method Summary
Modifier and TypeMethodDescriptiondoubledoubledoublelonglonglongdoubledoubledoubledoubledoubleintlong
-
Method Details
-
getSampledFrames
int getSampledFrames()- Returns:
- retained frames containing at least one call or non-zero duration
-
getTotalCalls
long getTotalCalls()- Returns:
- calls recorded across all retained frames
-
getAverageCallsPerFrame
double getAverageCallsPerFrame()- Returns:
- arithmetic mean call count across all retained frames
-
getAverageMilliseconds
double getAverageMilliseconds()- Returns:
- arithmetic mean duration across sampled frames, in milliseconds
-
getP50Milliseconds
double getP50Milliseconds()- Returns:
- nearest-rank median duration, in milliseconds
-
getP95Milliseconds
double getP95Milliseconds()- Returns:
- nearest-rank 95th-percentile duration, in milliseconds
-
getP99Milliseconds
double getP99Milliseconds()- Returns:
- nearest-rank 99th-percentile duration, in milliseconds
-
getMaximumMilliseconds
double getMaximumMilliseconds()- Returns:
- maximum retained duration, in milliseconds
-
getAverageFps
double getAverageFps()- Returns:
- frames per second derived from average duration for
PerformanceMetric.FRAME_TOTAL, otherwise zero
-
getOnePercentLowFps
double getOnePercentLowFps()- Returns:
- FPS derived from the slowest one percent of retained
PerformanceMetric.FRAME_TOTALsamples, otherwise zero
-
getFramesOver16Point67Milliseconds
long getFramesOver16Point67Milliseconds()- Returns:
- frame-total samples strictly over 16.67 milliseconds
-
getFramesOver33Point33Milliseconds
long getFramesOver33Point33Milliseconds()- Returns:
- frame-total samples strictly over 33.33 milliseconds
-
getFramesOver50Milliseconds
long getFramesOver50Milliseconds()- Returns:
- frame-total samples strictly over 50 milliseconds
-