Struct wgpu_profiler::GpuTimerQueryResult
source · pub struct GpuTimerQueryResult {
pub label: String,
pub pid: u32,
pub tid: ThreadId,
pub time: Range<f64>,
pub nested_queries: Vec<GpuTimerQueryResult>,
}Expand description
The result of a gpu timer scope.
Fields§
§label: StringLabel that was specified when opening the scope.
pid: u32The process id of the process that opened this scope.
tid: ThreadIdThe thread id of the thread that opened this scope.
time: Range<f64>Time range of this scope in seconds.
Meaning of absolute value is not defined.
nested_queries: Vec<GpuTimerQueryResult>Scopes that were opened while this scope was open.
Trait Implementations§
source§impl Clone for GpuTimerQueryResult
impl Clone for GpuTimerQueryResult
source§fn clone(&self) -> GpuTimerQueryResult
fn clone(&self) -> GpuTimerQueryResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl RefUnwindSafe for GpuTimerQueryResult
impl Send for GpuTimerQueryResult
impl Sync for GpuTimerQueryResult
impl Unpin for GpuTimerQueryResult
impl UnwindSafe for GpuTimerQueryResult
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