pub struct BatchStats {
pub total_submissions: u64,
pub total_command_buffers: u64,
pub average_batch_size: f64,
pub timeline_waits: u64,
}Expand description
Batch statistics
Fields§
§total_submissions: u64§total_command_buffers: u64§average_batch_size: f64§timeline_waits: u64Implementations§
Source§impl BatchStats
impl BatchStats
pub fn record_submission(&mut self, batch_size: usize)
Trait Implementations§
Source§impl Debug for BatchStats
impl Debug for BatchStats
Source§impl Default for BatchStats
impl Default for BatchStats
Source§fn default() -> BatchStats
fn default() -> BatchStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BatchStats
impl RefUnwindSafe for BatchStats
impl Send for BatchStats
impl Sync for BatchStats
impl Unpin for BatchStats
impl UnwindSafe for BatchStats
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