pub struct PerfFrame {Show 29 fields
pub index: u64,
pub total_us: u64,
pub rebuild_us: u64,
pub build_content_us: u64,
pub scene_dispatch_us: u64,
pub scene_finish_us: u64,
pub render_us: u64,
pub acquire_us: u64,
pub present_us: u64,
pub animation_us: u64,
pub input_us: u64,
pub executor_before_us: u64,
pub executor_after_us: u64,
pub rebuilt: bool,
pub rendered: bool,
pub captured_snapshot: bool,
pub cpu_percent: f64,
pub memory_bytes: u64,
pub gpu_frame_us: u64,
pub measurement_cache_hits: u64,
pub measurement_cache_misses: u64,
pub scene_layers: u64,
pub vello_scene_layers: u64,
pub gpu_surface_layers: u64,
pub clip_layers: u64,
pub max_clip_depth: u64,
pub applied_filter_count: u64,
pub applied_filter_capture_us: u64,
pub applied_filter_effect_us: u64,
}Expand description
One recorded perf frame.
Fields§
§index: u64Frame index within the measurement.
total_us: u64Total frame time in microseconds.
rebuild_us: u64Rebuild phase time in microseconds.
build_content_us: u64Content-build phase time in microseconds.
scene_dispatch_us: u64Scene-dispatch phase time in microseconds.
scene_finish_us: u64Scene-finish phase time in microseconds.
render_us: u64Render phase time in microseconds.
acquire_us: u64Surface acquire time in microseconds.
present_us: u64Present time in microseconds.
animation_us: u64Animation phase time in microseconds.
input_us: u64Input phase time in microseconds.
executor_before_us: u64Executor drain time before the frame in microseconds.
executor_after_us: u64Executor drain time after the frame in microseconds.
rebuilt: boolWhether the frame performed a structural rebuild.
rendered: boolWhether the frame rendered.
captured_snapshot: boolWhether the frame captured a snapshot.
cpu_percent: f64Process CPU usage in percent.
memory_bytes: u64Process memory footprint in bytes.
gpu_frame_us: u64GPU frame time (acquire + render + present) in microseconds.
measurement_cache_hits: u64Measurement-cache hits this frame.
measurement_cache_misses: u64Measurement-cache misses this frame.
scene_layers: u64Compositor scene layers this frame.
vello_scene_layers: u64Vello scene layers this frame.
gpu_surface_layers: u64GPU surface layers this frame.
clip_layers: u64Clip layers pushed this frame.
max_clip_depth: u64Maximum clip depth this frame.
applied_filter_count: u64Applied filter count this frame.
applied_filter_capture_us: u64Applied filter capture time this frame in microseconds.
applied_filter_effect_us: u64Applied filter effect time this frame in microseconds.