Average total CPU frame time across the rolling window (sum of all phases). Useful for a single headline number.
(&self)
| 338 | /// Average total CPU frame time across the rolling window (sum of |
| 339 | /// all phases). Useful for a single headline number. |
| 340 | pub fn avg_frame_cpu_us(&self) -> f64 { |
| 341 | self.rolling.values().map(|s| s.avg_cpu()).sum() |
| 342 | } |
| 343 | |
| 344 | /// Average total GPU frame time where available. |
| 345 | pub fn avg_frame_gpu_us(&self) -> f64 { |
no test coverage detected