pub struct ExecutionStats {
pub frame_index: u64,
pub total_cpu_time: Duration,
pub pass_times: Vec<(String, Duration)>,
pub barrier_count: usize,
pub resource_allocation_count: usize,
pub resource_reuse_count: usize,
pub async_compute_passes: usize,
pub skipped_passes: usize,
pub active_passes: usize,
pub memory_budget: Option<MemoryBudget>,
}Expand description
Per-frame execution statistics.
Fields§
§frame_index: u64§total_cpu_time: Duration§pass_times: Vec<(String, Duration)>§barrier_count: usize§resource_allocation_count: usize§resource_reuse_count: usize§async_compute_passes: usize§skipped_passes: usize§active_passes: usize§memory_budget: Option<MemoryBudget>Implementations§
Trait Implementations§
Source§impl Clone for ExecutionStats
impl Clone for ExecutionStats
Source§fn clone(&self) -> ExecutionStats
fn clone(&self) -> ExecutionStats
Returns a duplicate 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 moreSource§impl Debug for ExecutionStats
impl Debug for ExecutionStats
Auto Trait Implementations§
impl Freeze for ExecutionStats
impl RefUnwindSafe for ExecutionStats
impl Send for ExecutionStats
impl Sync for ExecutionStats
impl Unpin for ExecutionStats
impl UnsafeUnpin for ExecutionStats
impl UnwindSafe for ExecutionStats
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