MCPcopy Create free account
hub / github.com/PerroEngine/Perro / add

Method add

perro_source/render_stack/perro_graphics/benches/gpu_frame.rs:63–81  ·  view source on GitHub ↗
(&mut self, timing: DrawFrameTiming)

Source from the content-addressed store, hash-verified

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
83impl TimingSum {
84 fn add(&mut self, timing: DrawFrameTiming) {

Callers 2

resumedMethod · 0.45
process_commandsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected