sampleCount property

int get sampleCount

How many frames are currently held in the window.

The same for every metric: one ui.FrameTiming always contributes to build, raster and total together, and windowSize is one shared cap applied identically to all three lists.

Implementation

int get sampleCount => _total.length;