FrameProfileSummary
| Kind | typedef |
| Package | debug |
| Full name | debug.FrameProfileSummary |
| Source | source/debug/FrameProfiler.hx |
Aggregated statistical summary across the profiling session and ring buffer.
Percentile & Low-FPS Semantics:
- Percentiles (
p50,p95,p99,p999) use Hyndman-Fan Type 7 linear interpolation (pos = q * (N - 1)) over the ring buffer (up to 2,048 frames). onePercentLowFps=1000.0 / p99FrameTimeMs(reciprocal of P99 frametime).pointOnePercentLowFps=1000.0 / p999FrameTimeMs(reciprocal of P99.9 frametime).slowest1PctAvgFpsandslowest01PctAvgFps= harmonic mean FPS of the slowestceil(0.01 * N)andceil(0.001 * N)buffered frames.cpuTimeAvailable,rssAvailable,heapStatsAvailableexplicitly indicate whether the underlying platform/runtime metrics are available.
Internals
Private / internal members
| Field | Type | Static |
|---|---|---|
totalFrames | Int | no |
bufferedFrames | Int | no |
sessionDurationMs | Float | no |
targetFps | Float | no |
targetFrameTimeMs | Float | no |
currentFps | Float | no |
avgFps | Float | no |
minFps | Float | no |
maxFps | Float | no |
onePercentLowFps | Float | no |
pointOnePercentLowFps | Float | no |
slowest1PctAvgFps | Float | no |
slowest01PctAvgFps | Float | no |
lastFrameTimeMs | Float | no |
avgFrameTimeMs | Float | no |
minFrameTimeMs | Float | no |
maxFrameTimeMs | Float | no |
stdDevFrameTimeMs | Float | no |
p50FrameTimeMs | Float | no |
p95FrameTimeMs | Float | no |
p99FrameTimeMs | Float | no |
p999FrameTimeMs | Float | no |
avgUpdateTimeMs | Float | no |
maxUpdateTimeMs | Float | no |
p95UpdateTimeMs | Float | no |
avgRenderTimeMs | Float | no |
maxRenderTimeMs | Float | no |
p95RenderTimeMs | Float | no |
avgAudioTimeMs | Float | no |
maxAudioTimeMs | Float | no |
p95AudioTimeMs | Float | no |
avgOtherTimeMs | Float | no |
maxOtherTimeMs | Float | no |
totalGcCount | Int | no |
totalExplicitGcCount | Int | no |
totalImplicitGcCount | Int | no |
framesWithGc | Int | no |
totalGcPauseMs | Float | no |
avgGcPauseMs | Float | no |
maxGcPauseMs | Float | no |
maxGcPauseFrame | Int | no |
totalGcReclaimedBytes | Float | no |
totalAllocBytes | Float | no |
totalAllocCount | Int | no |
avgAllocBytesPerFrame | Float | no |
allocRateBytesPerSec | Float | no |
peakFrameAllocBytes | Float | no |
peakFrameAllocFrame | Int | no |
currentHeapUsedBytes | Float | no |
currentHeapReservedBytes | Float | no |
peakHeapUsedBytes | Float | no |
peakHeapReservedBytes | Float | no |
currentRssBytes | Float | no |
peakRssBytes | Float | no |
droppedFrames | Int | no |
spikeCount16Ms | Int | no |
spikeCount25Ms | Int | no |
spikeCount33Ms | Int | no |
spikeCount50Ms | Int | no |
avgDrawCalls | Float | no |
maxDrawCalls | Int | no |
cpuTimeMs | Float | no |
cpuUtilizationPct | Float | no |
cpuNormalizedPct | Float | no |
logicalCpuCount | Int | no |
cpuTimeAvailable | Bool | no |
rssAvailable | Bool | no |
heapStatsAvailable | Bool | no |
rssSampleIntervalFrames | Int | no |