Skip to main content

FrameProfileRecord

Struct FrameProfileRecord 

Source
pub struct FrameProfileRecord {
Show 39 fields pub frame_index: u64, pub timestamp_us: u64, pub rebuild_reason: String, pub outcome: String, pub input_dispatch_us: u32, pub signal_drain_us: u32, pub view_render_us: u32, pub reconcile_us: u32, pub style_cascade_us: u32, pub layout_us: u32, pub display_list_build_us: u32, pub raster_us: u32, pub wgpu_3d_submit_us: u32, pub present_us: u32, pub total_cpu_us: u32, pub gpu_3d_us: u32, pub gpu_2d_overlay_us: u32, pub gpu_timestamps_valid: bool, pub dom_nodes: u32, pub layout_nodes: u32, pub display_cmds: u32, pub tiles_dirty: u32, pub tiles_total: u32, pub tile_cache_hit_pct: f32, pub reconciled_subtrees: u32, pub rebuilt_nodes: u32, pub full_rebuilds: u64, pub reconciled: bool, pub hover_fast_path_used: bool, pub hover_fast_path_bailout: Option<String>, pub reconcile_bailout: Option<String>, pub scene3d_cache_hits: u64, pub scene3d_cache_misses: u64, pub scene3d_cache_hit_pct: f32, pub glyph_atlas_hit_pct: f32, pub gpu_memory_bytes: u64, pub heap_alloc_count: u64, pub heap_alloc_bytes: u64, pub layout_shift_score: f32,
}
Expand description

Complete per-frame telemetry snapshot exposed to host apps (e.g. F3 HUD) and MCP tools.

Fields§

§frame_index: u64§timestamp_us: u64§rebuild_reason: String§outcome: String§input_dispatch_us: u32§signal_drain_us: u32§view_render_us: u32§reconcile_us: u32§style_cascade_us: u32§layout_us: u32§display_list_build_us: u32§raster_us: u32§wgpu_3d_submit_us: u32§present_us: u32§total_cpu_us: u32§gpu_3d_us: u32§gpu_2d_overlay_us: u32§gpu_timestamps_valid: bool§dom_nodes: u32§layout_nodes: u32§display_cmds: u32§tiles_dirty: u32§tiles_total: u32§tile_cache_hit_pct: f32§reconciled_subtrees: u32§rebuilt_nodes: u32§full_rebuilds: u64§reconciled: bool§hover_fast_path_used: bool§hover_fast_path_bailout: Option<String>§reconcile_bailout: Option<String>§scene3d_cache_hits: u64§scene3d_cache_misses: u64§scene3d_cache_hit_pct: f32§glyph_atlas_hit_pct: f32§gpu_memory_bytes: u64§heap_alloc_count: u64§heap_alloc_bytes: u64§layout_shift_score: f32

Trait Implementations§

Source§

impl Clone for FrameProfileRecord

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for FrameProfileRecord

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for FrameProfileRecord

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for FrameProfileRecord

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for FrameProfileRecord

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for FrameProfileRecord

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for FrameProfileRecord

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> Downcast<T> for T

Source§

fn downcast(&self) -> &T

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoInitialState<T> for T

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> Upcast<T> for T

Source§

fn upcast(&self) -> Option<&T>

Source§

impl<T> WasmNotSend for T
where T: Send,

Source§

impl<T> WasmNotSendSync for T

Source§

impl<T> WasmNotSync for T
where T: Sync,