pub struct PerfPhases {
pub rebuild_mean_us: u64,
pub rebuild_p95_us: u64,
pub build_content_mean_us: u64,
pub build_content_p95_us: u64,
pub scene_dispatch_mean_us: u64,
pub scene_dispatch_p95_us: u64,
pub scene_finish_mean_us: u64,
pub scene_finish_p95_us: u64,
pub render_mean_us: u64,
pub render_p95_us: u64,
pub animation_mean_us: u64,
pub input_mean_us: u64,
}Expand description
Frame phase aggregates of a perf measurement.
Fields§
§rebuild_mean_us: u64Mean rebuild phase time in microseconds.
rebuild_p95_us: u6495th-percentile rebuild phase time in microseconds.
build_content_mean_us: u64Mean content-build phase time in microseconds.
build_content_p95_us: u6495th-percentile content-build phase time in microseconds.
scene_dispatch_mean_us: u64Mean scene-dispatch phase time in microseconds.
scene_dispatch_p95_us: u6495th-percentile scene-dispatch phase time in microseconds.
scene_finish_mean_us: u64Mean scene-finish phase time in microseconds.
scene_finish_p95_us: u6495th-percentile scene-finish phase time in microseconds.
render_mean_us: u64Mean render phase time in microseconds.
render_p95_us: u6495th-percentile render phase time in microseconds.
animation_mean_us: u64Mean animation phase time in microseconds.
input_mean_us: u64Mean input phase time in microseconds.
Trait Implementations§
Source§impl Clone for PerfPhases
impl Clone for PerfPhases
Source§fn clone(&self) -> PerfPhases
fn clone(&self) -> PerfPhases
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PerfPhases
impl Debug for PerfPhases
Source§impl Default for PerfPhases
impl Default for PerfPhases
Source§fn default() -> PerfPhases
fn default() -> PerfPhases
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PerfPhases
impl<'de> Deserialize<'de> for PerfPhases
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PerfPhases
impl RefUnwindSafe for PerfPhases
impl Send for PerfPhases
impl Sync for PerfPhases
impl Unpin for PerfPhases
impl UnsafeUnpin for PerfPhases
impl UnwindSafe for PerfPhases
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more