pub struct ThreadFrameStats {
pub frames_started: u64,
pub frames_completed: u64,
pub current_frame: u64,
pub total_allocated: u64,
pub peak_memory: u64,
pub cross_thread_frees: u64,
}Expand description
Per-thread frame statistics.
Fields§
§frames_started: u64Number of frames started.
frames_completed: u64Number of frames completed.
current_frame: u64Current frame number.
total_allocated: u64Total bytes allocated across all frames.
peak_memory: u64Peak memory usage.
cross_thread_frees: u64Number of cross-thread frees initiated.
Implementations§
Trait Implementations§
Source§impl Clone for ThreadFrameStats
impl Clone for ThreadFrameStats
Source§fn clone(&self) -> ThreadFrameStats
fn clone(&self) -> ThreadFrameStats
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 ThreadFrameStats
impl Debug for ThreadFrameStats
Source§impl Default for ThreadFrameStats
impl Default for ThreadFrameStats
Source§fn default() -> ThreadFrameStats
fn default() -> ThreadFrameStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ThreadFrameStats
impl RefUnwindSafe for ThreadFrameStats
impl Send for ThreadFrameStats
impl Sync for ThreadFrameStats
impl Unpin for ThreadFrameStats
impl UnwindSafe for ThreadFrameStats
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