pub struct ArenaMetrics {
pub resident_bytes: u64,
pub peak_resident_bytes: u64,
pub requested_bytes: u64,
pub allocated_bytes: u64,
pub allocations: u64,
pub allocation_stalls: u64,
pub stalled_bytes: u64,
pub host_allocation_events: u64,
}Expand description
Observable arena counters. Values are cumulative except resident bytes.
Fields§
§resident_bytes: u64Bytes currently covered by live pages.
peak_resident_bytes: u64Highest live page footprint observed.
requested_bytes: u64Sum of requested payload bytes accepted.
allocated_bytes: u64Sum of page-rounded bytes accepted.
allocations: u64Number of successful allocations.
allocation_stalls: u64Number of requests rejected for capacity.
stalled_bytes: u64Payload bytes rejected for capacity.
host_allocation_events: u64Host storage allocations performed by this primitive.
Trait Implementations§
Source§impl Clone for ArenaMetrics
impl Clone for ArenaMetrics
impl Copy for ArenaMetrics
Source§impl Debug for ArenaMetrics
impl Debug for ArenaMetrics
Source§impl Default for ArenaMetrics
impl Default for ArenaMetrics
impl Eq for ArenaMetrics
Source§impl PartialEq for ArenaMetrics
impl PartialEq for ArenaMetrics
impl StructuralPartialEq for ArenaMetrics
Auto Trait Implementations§
impl Freeze for ArenaMetrics
impl RefUnwindSafe for ArenaMetrics
impl Send for ArenaMetrics
impl Sync for ArenaMetrics
impl Unpin for ArenaMetrics
impl UnsafeUnpin for ArenaMetrics
impl UnwindSafe for ArenaMetrics
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