pub struct InstallTimings {
pub engine_surface: Duration,
pub device_create: Duration,
pub cache_seed: Duration,
pub caps_probe: Duration,
pub engine: ConstructionTimings,
pub rest: Duration,
}Expand description
Where the first surface install spent its time, from the
on_surface_created_* entry to install_surface’s exit. Durations, not
offsets. device_create is a part of engine_surface (reported on its own);
the other fields are disjoint, so
engine_surface + cache_seed + caps_probe + engine.* + rest is the whole
install.
Fields§
§engine_surface: DurationSurface creation, device creation, capability gate and swapchain configure.
device_create: DurationThe ensure_device call inside engine_surface.
cache_seed: Durationcreate_pipeline_cache (the driver-cache seed; ~0 off Vulkan).
caps_probe: DurationTierCaps::probe.
engine: ConstructionTimingsEngineRenderer::new’s own split.
rest: DurationThe rest of install_surface (timestamp ring, shader quad pass, state adoption).
Trait Implementations§
Source§impl Clone for InstallTimings
impl Clone for InstallTimings
impl Copy for InstallTimings
Source§impl Debug for InstallTimings
impl Debug for InstallTimings
Source§impl Default for InstallTimings
impl Default for InstallTimings
impl Eq for InstallTimings
Source§impl PartialEq for InstallTimings
impl PartialEq for InstallTimings
impl StructuralPartialEq for InstallTimings
Auto Trait Implementations§
impl Freeze for InstallTimings
impl RefUnwindSafe for InstallTimings
impl Send for InstallTimings
impl Sync for InstallTimings
impl Unpin for InstallTimings
impl UnsafeUnpin for InstallTimings
impl UnwindSafe for InstallTimings
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.