Struct wgpu_profiler::GpuTimerQueryResult
source · pub struct GpuTimerQueryResult {
pub label: String,
pub pid: u32,
pub tid: ThreadId,
pub time: Option<Range<f64>>,
pub nested_queries: Vec<GpuTimerQueryResult>,
}
Expand description
The result of a gpu timer scope.
Fields§
§label: String
Label that was specified when opening the scope.
pid: u32
The process id of the process that opened this scope.
tid: ThreadId
The thread id of the thread that opened this scope.
time: Option<Range<f64>>
Time range of this scope in seconds.
Meaning of absolute value is not defined. If timestamp writing was disabled for this scope, this is None.
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 Freeze for GpuTimerQueryResult
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)