IFClite TypeScript API
    Preparing search index...

    Interface FrameTimingReport

    Aggregated statistics across many recorded frames.

    interface FrameTimingReport {
        frame: DurationStats;
        invalidSampleCount: number;
        mode: TimingMode;
        passes: Record<string, DurationStats>;
    }
    Index

    Statistics over each frame's total GPU (or CPU-fallback) time.

    invalidSampleCount: number

    Count of raw (startNs, endNs) pairs across every frame/pass where endNs < startNs — a GPU clock non-monotonicity (see nsToMs's doc). Each such sample is clamped to a 0ms contribution in frame/passes above rather than dragging min/mean negative, but a clamped 0 reads identically to a genuine zero-duration pass unless this count is checked — surfaced explicitly here for the same reason DurationStats gives empty samples their own explicit shape instead of a silent 0: this API does not report a number it cannot stand behind without also saying when it had to make one up.

    passes: Record<string, DurationStats>

    Statistics over each pass label's per-frame duration, keyed by label. A label absent from a given frame simply contributes no sample to its stats that frame — it is not treated as a 0ms sample.