pub struct VmallocDiagSnapshot {Show 14 fields
pub arena_start: u64,
pub arena_end: u64,
pub alloc_count: usize,
pub allocated_pages: usize,
pub free_pages: usize,
pub peak_pages: u64,
pub total_seq: u64,
pub fail_count: usize,
pub policy_rejects: u64,
pub free_extent_count: usize,
pub largest_free_pages: usize,
pub metadata_pages: usize,
pub node_pool_free: usize,
pub last_failure: Option<VmallocFailureSnapshot>,
}Fields§
§arena_start: u64§arena_end: u64§alloc_count: usize§allocated_pages: usize§free_pages: usize§peak_pages: u64§total_seq: u64Cumulative successful vmalloc calls this boot (matches VMALLOC_ALLOC_SEQ).
fail_count: usize§policy_rejects: u64§free_extent_count: usize§largest_free_pages: usize§metadata_pages: usize§node_pool_free: usize§last_failure: Option<VmallocFailureSnapshot>Trait Implementations§
Source§impl Clone for VmallocDiagSnapshot
impl Clone for VmallocDiagSnapshot
Source§fn clone(&self) -> VmallocDiagSnapshot
fn clone(&self) -> VmallocDiagSnapshot
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 VmallocDiagSnapshot
impl Debug for VmallocDiagSnapshot
Source§impl PartialEq for VmallocDiagSnapshot
impl PartialEq for VmallocDiagSnapshot
impl Copy for VmallocDiagSnapshot
impl Eq for VmallocDiagSnapshot
impl StructuralPartialEq for VmallocDiagSnapshot
Auto Trait Implementations§
impl Freeze for VmallocDiagSnapshot
impl RefUnwindSafe for VmallocDiagSnapshot
impl Send for VmallocDiagSnapshot
impl Sync for VmallocDiagSnapshot
impl Unpin for VmallocDiagSnapshot
impl UnsafeUnpin for VmallocDiagSnapshot
impl UnwindSafe for VmallocDiagSnapshot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more