pub struct PassTiming {
pub label: String,
pub begin_nanos: u64,
pub gpu_nanos: u64,
pub statistics: Option<PipelineStatistics>,
}Expand description
What one pass cost on the GPU.
Fields§
§label: StringThe pass’s label, as it appears in the graph dump and in captures.
begin_nanos: u64When the pass began, in nanoseconds on the GPU’s timestamp clock: where a timeline puts it, comparable with every other pass’s but not with a CPU time.
gpu_nanos: u64Nanoseconds between pass boundaries, including inter-stage scheduling gaps. These intervals can overlap on a pipelined GPU.
statistics: Option<PipelineStatistics>What the GPU counted over the pass, when STATISTICS_VAR asked for
it and the device can count.
Trait Implementations§
Source§impl Clone for PassTiming
impl Clone for PassTiming
Source§fn clone(&self) -> PassTiming
fn clone(&self) -> PassTiming
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 PassTiming
impl Debug for PassTiming
impl Eq for PassTiming
Source§impl PartialEq for PassTiming
impl PartialEq for PassTiming
impl StructuralPartialEq for PassTiming
Auto Trait Implementations§
impl Forget for PassTiming
impl Freeze for PassTiming
impl Move for PassTiming
impl RefUnwindSafe for PassTiming
impl Send for PassTiming
impl Sync for PassTiming
impl Unpin for PassTiming
impl UnsafeUnpin for PassTiming
impl UnwindSafe for PassTiming
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