Skip to main content

LatencyDistribution

Struct LatencyDistribution 

Source
pub struct LatencyDistribution { /* private fields */ }
Expand description

Per-iteration latency percentile distribution, frame-budget misses, allocation counters, and layout/damage telemetry.

Implementations§

Source§

impl LatencyDistribution

Source

pub fn get_iterations(&self) -> usize

Source

pub fn get_p50_us(&self) -> f64

Source

pub fn get_p95_us(&self) -> f64

Source

pub fn get_p99_us(&self) -> f64

Source

pub fn get_p99_9_us(&self) -> f64

Source

pub fn get_max_us(&self) -> f64

Source

pub fn get_mean_us(&self) -> f64

Source

pub fn get_jitter_us(&self) -> f64

Source

pub fn get_over_2_08ms_count(&self) -> usize

Source

pub fn get_over_2_78ms_count(&self) -> usize

Source

pub fn get_over_4_17ms_count(&self) -> usize

Source

pub fn get_over_6_94ms_count(&self) -> usize

Source

pub fn get_over_16_67ms_count(&self) -> usize

Source

pub fn get_missed_240hz_pct(&self) -> f64

Source

pub fn get_missed_360hz_pct(&self) -> f64

Source

pub fn get_missed_480hz_pct(&self) -> f64

Source

pub fn get_effective_fps(&self) -> f64

Source

pub fn get_mean_dirty_area_ratio(&self) -> f64

Source

pub fn get_full_redraw_count(&self) -> usize

Source

pub fn get_alloc_count_total(&self) -> u64

Source

pub fn get_free_count_total(&self) -> u64

Source

pub fn get_bytes_allocated_total(&self) -> u64

Source

pub fn get_mean_allocs_per_frame(&self) -> f64

Source

pub fn get_mean_bytes_per_frame(&self) -> f64

Source

pub fn get_max_allocs_per_frame(&self) -> u64

Source

pub fn get_max_bytes_per_frame(&self) -> u64

Source

pub fn get_peak_live_bytes(&self) -> u64

Source

pub fn get_layout_invalidations(&self) -> u64

Source

pub fn get_layout_passes(&self) -> u64

Source

pub fn get_layout_changed_passes(&self) -> u64

Source

pub fn get_layout_changed_nodes_total(&self) -> u64

Source

pub fn get_draw_commands_total(&self) -> u64

Source

pub fn get_pixels_shaded_total(&self) -> u64

Trait Implementations§

Source§

impl Clone for LatencyDistribution

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 LatencyDistribution

Source§

impl Debug for LatencyDistribution

Source§

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

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

impl Default for LatencyDistribution

Source§

fn default() -> Self

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

impl<'de> Deserialize<'de> for LatencyDistribution

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 LatencyDistribution

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 LatencyDistribution

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 LatencyDistribution

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> 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.