(&mut self, timing: DrawFrameTiming)
| 61 | draw_calls_2d: u64, |
| 62 | draw_calls_3d: u64, |
| 63 | draw_instances_3d: u64, |
| 64 | presented: u64, |
| 65 | // Retained-scene fast path: frames whose scene chain was skipped entirely, |
| 66 | // and the scene-building passes actually encoded. A static case should |
| 67 | // trend toward skip_render_3d == frames and scene_passes == 0. |
| 68 | skip_render_3d: u64, |
| 69 | scene_passes: u64, |
| 70 | shadow_layers: u64, |
| 71 | shadow_draw_calls: u64, |
| 72 | frames: u64, |
| 73 | total_samples: Vec<Duration>, |
| 74 | prepare_cpu_samples: Vec<Duration>, |
| 75 | encode_samples: Vec<Duration>, |
| 76 | gpu_main_samples: Vec<Duration>, |
| 77 | acquire_samples: Vec<Duration>, |
| 78 | submit_samples: Vec<Duration>, |
| 79 | present_samples: Vec<Duration>, |
| 80 | pipeline_switch_samples: Vec<u32>, |
| 81 | } |
| 82 | |
| 83 | impl TimingSum { |
| 84 | fn add(&mut self, timing: DrawFrameTiming) { |
no outgoing calls
no test coverage detected