pub struct GpuPassTimingReport {
pub frames: u32,
pub invalid_frames: u32,
pub dropped_frames: u64,
pub dropped_passes: u64,
pub span_ms: f64,
pub entries: Vec<GpuPassTimingEntry>,
}Expand description
GPU time by pass label, aggregated since the last [GPU-PASS] print.
Check the invalid and dropped counters before comparing workloads; rejected
frames contribute neither time nor passes to this report.
Fields§
§frames: u32Frames whose complete, valid timestamps have been read back into this window.
invalid_frames: u32Frames rejected because their timestamps were incomplete or invalid.
dropped_frames: u64Frames omitted because no query slot was free or a readback failed.
dropped_passes: u64Passes omitted because the frame exceeded the query budget.
span_ms: f64Total GPU span — earliest pass begin to latest pass end, summed over the window’s frames. Per-label times are stage-boundary occupancy windows that overlap on pipelined GPUs and can sum past the frame; this span is the frame-level wall number they cannot give.
entries: Vec<GpuPassTimingEntry>Entries sorted by descending GPU time.