pub struct ArenaStats {
pub generation: u64,
pub served: u64,
pub misses: u64,
pub slices: u64,
pub bytes_reserved: u64,
pub bytes_in_use: u64,
}Expand description
What the capture arena is holding, and how it got there.
misses is the load-bearing one: a miss taken while a stream capture is
open is a driver allocation recorded as a graph MEMORY node, which is both a
per-replay cost and an address the next capture will not reproduce.
Fields§
§generation: u64How many times the arena has been opened.
served: u64Reservations served from the arena since the last counter reset.
misses: u64Of those, the ones that needed a fresh allocation from the storage.
slices: u64Slices the arena owns.
bytes_reserved: u64Bytes the arena keeps reserved, whether in use or free.
bytes_in_use: u64Bytes of that currently held by a live handle.
Trait Implementations§
Source§impl Clone for ArenaStats
impl Clone for ArenaStats
impl Copy for ArenaStats
Source§impl Debug for ArenaStats
impl Debug for ArenaStats
Source§impl Default for ArenaStats
impl Default for ArenaStats
impl Eq for ArenaStats
Source§impl PartialEq for ArenaStats
impl PartialEq for ArenaStats
impl StructuralPartialEq for ArenaStats
Auto Trait Implementations§
impl Freeze for ArenaStats
impl RefUnwindSafe for ArenaStats
impl Send for ArenaStats
impl Sync for ArenaStats
impl Unpin for ArenaStats
impl UnsafeUnpin for ArenaStats
impl UnwindSafe for ArenaStats
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.