pub struct ConstructionTimings {
pub shader_modules: Duration,
pub warm_up_start: Duration,
pub rest: Duration,
}Expand description
Where one EngineRenderer construction spent its wall time, measured with
Instant reads inside EngineRenderer::with_image_sampler. Evidence for
the startup sub-step stamps only; no behaviour depends on it.
Fields§
§shader_modules: DurationShaderLibrary::new plus EngineShaders::register_family: registering
the shader sources. No module is created here any more — each is created
on first use, the first frame’s on the shader warm-up pool — so this
reads the registration cost alone.
warm_up_start: DurationPipelineCache::new, warm_up_shaders (the first-frame module pool’s
spawn) and warm_up (enqueue and background-worker spawn).
rest: DurationEverything else in construction (routing, gradients, atlas, resources).
Trait Implementations§
Source§impl Clone for ConstructionTimings
impl Clone for ConstructionTimings
impl Copy for ConstructionTimings
Source§impl Debug for ConstructionTimings
impl Debug for ConstructionTimings
Source§impl Default for ConstructionTimings
impl Default for ConstructionTimings
impl Eq for ConstructionTimings
Source§impl PartialEq for ConstructionTimings
impl PartialEq for ConstructionTimings
impl StructuralPartialEq for ConstructionTimings
Auto Trait Implementations§
impl Freeze for ConstructionTimings
impl RefUnwindSafe for ConstructionTimings
impl Send for ConstructionTimings
impl Sync for ConstructionTimings
impl Unpin for ConstructionTimings
impl UnsafeUnpin for ConstructionTimings
impl UnwindSafe for ConstructionTimings
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.