pub struct StartupTimes {
pub adapter: Duration,
pub device: Duration,
pub surface: Duration,
pub pipelines: Duration,
pub warm_up: Duration,
}Expand description
What making the renderer took, phase by phase (milestone 683, #211): a part of an
application’s time to its first frame. See Renderer::startup_times.
Fields§
§adapter: DurationThe GPU instance, the surface and the adapter.
device: DurationThe device and its queue.
surface: DurationThe surface’s capabilities read, and the surface configured for the device (milestone 696).
pipelines: DurationThe pipelines and resources every frame draws with.
warm_up: DurationA frame drawn before the first real one, which builds what drivers build lazily.
Trait Implementations§
Source§impl Clone for StartupTimes
impl Clone for StartupTimes
impl Copy for StartupTimes
Source§impl Debug for StartupTimes
impl Debug for StartupTimes
Source§impl Default for StartupTimes
impl Default for StartupTimes
Source§impl PartialEq for StartupTimes
impl PartialEq for StartupTimes
impl StructuralPartialEq for StartupTimes
Auto Trait Implementations§
impl Freeze for StartupTimes
impl RefUnwindSafe for StartupTimes
impl Send for StartupTimes
impl Sync for StartupTimes
impl Unpin for StartupTimes
impl UnsafeUnpin for StartupTimes
impl UnwindSafe for StartupTimes
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