Skip to main content

RendererSubmissionDiagnostics

Struct RendererSubmissionDiagnostics 

Source
pub struct RendererSubmissionDiagnostics {
Show 46 fields pub pass_count: usize, pub draw_count: usize, pub uploaded_vertex_bytes: u64, pub text_glyph_instance_count: usize, pub text_vertex_bytes: u64, pub visible_layer_count: usize, pub direct_packet_count: usize, pub retained_state_update_time_us: u64, pub composition_time_us: u64, pub retained_scene_traversal_time_us: u64, pub retained_packet_build_time_us: u64, pub retained_packet_build_count: usize, pub retained_packet_rebuilds: RetainedPacketRebuildDiagnostics, pub retained_packet_normalize_time_us: u64, pub retained_packet_signature_time_us: u64, pub retained_packet_raster_state_init_time_us: u64, pub retained_packet_scene_build_time_us: u64, pub retained_packet_command_count: usize, pub retained_packet_text_command_count: usize, pub retained_packet_path_command_count: usize, pub retained_packet_clip_path_command_count: usize, pub retained_packet_image_command_count: usize, pub retained_packet_rect_command_count: usize, pub retained_packet_text_command_time_us: u64, pub retained_packet_path_command_time_us: u64, pub retained_packet_clip_path_command_time_us: u64, pub retained_packet_image_command_time_us: u64, pub retained_packet_rect_command_time_us: u64, pub text_atlas_miss_count: usize, pub text_atlas_miss_time_us: u64, pub surface_acquire_time_us: u64, pub resource_collection_time_us: u64, pub bind_group_prepare_time_us: u64, pub image_bind_group_time_us: u64, pub analytic_path_bind_group_time_us: u64, pub analytic_path_bind_group_miss_count: usize, pub analytic_path_bind_group_upload_bytes: u64, pub text_atlas_bind_group_time_us: u64, pub text_atlas_upload_copy_time_us: u64, pub text_atlas_upload_write_time_us: u64, pub text_atlas_upload_bytes: u64, pub batch_prepare_time_us: u64, pub gpu_upload_time_us: u64, pub pass_encode_time_us: u64, pub queue_submit_time_us: u64, pub surface_present_time_us: u64,
}

Fields§

§pass_count: usize§draw_count: usize§uploaded_vertex_bytes: u64§text_glyph_instance_count: usize§text_vertex_bytes: u64§visible_layer_count: usize§direct_packet_count: usize§retained_state_update_time_us: u64§composition_time_us: u64§retained_scene_traversal_time_us: u64§retained_packet_build_time_us: u64§retained_packet_build_count: usize§retained_packet_rebuilds: RetainedPacketRebuildDiagnostics§retained_packet_normalize_time_us: u64§retained_packet_signature_time_us: u64§retained_packet_raster_state_init_time_us: u64§retained_packet_scene_build_time_us: u64§retained_packet_command_count: usize§retained_packet_text_command_count: usize§retained_packet_path_command_count: usize§retained_packet_clip_path_command_count: usize§retained_packet_image_command_count: usize§retained_packet_rect_command_count: usize§retained_packet_text_command_time_us: u64§retained_packet_path_command_time_us: u64§retained_packet_clip_path_command_time_us: u64§retained_packet_image_command_time_us: u64§retained_packet_rect_command_time_us: u64§text_atlas_miss_count: usize§text_atlas_miss_time_us: u64§surface_acquire_time_us: u64§resource_collection_time_us: u64§bind_group_prepare_time_us: u64§image_bind_group_time_us: u64§analytic_path_bind_group_time_us: u64§analytic_path_bind_group_miss_count: usize§analytic_path_bind_group_upload_bytes: u64§text_atlas_bind_group_time_us: u64§text_atlas_upload_copy_time_us: u64§text_atlas_upload_write_time_us: u64§text_atlas_upload_bytes: u64§batch_prepare_time_us: u64§gpu_upload_time_us: u64§pass_encode_time_us: u64§queue_submit_time_us: u64§surface_present_time_us: u64

Implementations§

Source§

impl RendererSubmissionDiagnostics

Source

pub const fn new( pass_count: usize, draw_count: usize, uploaded_vertex_bytes: u64, text_glyph_instance_count: usize, text_vertex_bytes: u64, visible_layer_count: usize, direct_packet_count: usize, retained_state_update_time_us: u64, composition_time_us: u64, retained_scene_traversal_time_us: u64, retained_packet_build_time_us: u64, retained_packet_build_count: usize, retained_packet_rebuilds: RetainedPacketRebuildDiagnostics, text_atlas_miss_count: usize, text_atlas_miss_time_us: u64, surface_acquire_time_us: u64, resource_collection_time_us: u64, bind_group_prepare_time_us: u64, image_bind_group_time_us: u64, analytic_path_bind_group_time_us: u64, analytic_path_bind_group_miss_count: usize, analytic_path_bind_group_upload_bytes: u64, text_atlas_bind_group_time_us: u64, text_atlas_upload_copy_time_us: u64, text_atlas_upload_write_time_us: u64, text_atlas_upload_bytes: u64, batch_prepare_time_us: u64, gpu_upload_time_us: u64, pass_encode_time_us: u64, queue_submit_time_us: u64, surface_present_time_us: u64, ) -> Self

Source

pub fn with_retained_packet_breakdown( self, retained_packet_normalize_time_us: u64, retained_packet_signature_time_us: u64, retained_packet_raster_state_init_time_us: u64, retained_packet_scene_build_time_us: u64, retained_packet_command_count: usize, retained_packet_text_command_count: usize, retained_packet_path_command_count: usize, retained_packet_clip_path_command_count: usize, retained_packet_image_command_count: usize, retained_packet_rect_command_count: usize, retained_packet_text_command_time_us: u64, retained_packet_path_command_time_us: u64, retained_packet_clip_path_command_time_us: u64, retained_packet_image_command_time_us: u64, retained_packet_rect_command_time_us: u64, ) -> Self

Trait Implementations§

Source§

impl Clone for RendererSubmissionDiagnostics

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 Copy for RendererSubmissionDiagnostics

Source§

impl Debug for RendererSubmissionDiagnostics

Source§

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

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

impl Default for RendererSubmissionDiagnostics

Source§

fn default() -> Self

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

impl Eq for RendererSubmissionDiagnostics

Source§

impl PartialEq for RendererSubmissionDiagnostics

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 StructuralPartialEq for RendererSubmissionDiagnostics

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<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
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> 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.