pub struct GpuProfile {
pub gpu_elapsed: Duration,
pub dispatch_time: Duration,
pub spans: Vec<GpuTimestampSpan>,
}Expand description
Timestamp-query measurements for one primitive invocation.
Fields§
§gpu_elapsed: DurationTime from the beginning of the first dispatch through the end of the last dispatch.
dispatch_time: DurationSum of the measured compute-pass durations.
spans: Vec<GpuTimestampSpan>Trait Implementations§
Source§impl Clone for GpuProfile
impl Clone for GpuProfile
Source§fn clone(&self) -> GpuProfile
fn clone(&self) -> GpuProfile
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 GpuProfile
impl Debug for GpuProfile
Source§impl Default for GpuProfile
impl Default for GpuProfile
Source§fn default() -> GpuProfile
fn default() -> GpuProfile
Returns the “default value” for a type. Read more
impl Eq for GpuProfile
Source§impl PartialEq for GpuProfile
impl PartialEq for GpuProfile
impl StructuralPartialEq for GpuProfile
Auto Trait Implementations§
impl Freeze for GpuProfile
impl RefUnwindSafe for GpuProfile
impl Send for GpuProfile
impl Sync for GpuProfile
impl Unpin for GpuProfile
impl UnsafeUnpin for GpuProfile
impl UnwindSafe for GpuProfile
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.