MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / avg_frame_gpu_us

Method avg_frame_gpu_us

native/shared/src/profiler.rs:345–347  ·  view source on GitHub ↗

Average total GPU frame time where available.

(&self)

Source from the content-addressed store, hash-verified

343
344 /// Average total GPU frame time where available.
345 pub fn avg_frame_gpu_us(&self) -> f64 {
346 self.rolling.values().filter_map(|s| s.avg_gpu()).sum()
347 }
348
349 /// Snapshot the rolling averages in a stable, CPU-time-descending
350 /// order. Games call this once per overlay-draw frame and pull

Calls 1

avg_gpuMethod · 0.80

Tested by

no test coverage detected