Struct below_model::cgroup::CgroupMemoryNumaModel
source · pub struct CgroupMemoryNumaModel {Show 27 fields
pub total: Option<u64>,
pub anon: Option<u64>,
pub file: Option<u64>,
pub kernel_stack: Option<u64>,
pub pagetables: Option<u64>,
pub shmem: Option<u64>,
pub file_mapped: Option<u64>,
pub file_dirty: Option<u64>,
pub file_writeback: Option<u64>,
pub swapcached: Option<u64>,
pub anon_thp: Option<u64>,
pub file_thp: Option<u64>,
pub shmem_thp: Option<u64>,
pub inactive_anon: Option<u64>,
pub active_anon: Option<u64>,
pub inactive_file: Option<u64>,
pub active_file: Option<u64>,
pub unevictable: Option<u64>,
pub slab_reclaimable: Option<u64>,
pub slab_unreclaimable: Option<u64>,
pub workingset_refault_anon: Option<f64>,
pub workingset_refault_file: Option<f64>,
pub workingset_activate_anon: Option<f64>,
pub workingset_activate_file: Option<f64>,
pub workingset_restore_anon: Option<f64>,
pub workingset_restore_file: Option<f64>,
pub workingset_nodereclaim: Option<f64>,
}
Fields§
§total: Option<u64>
§anon: Option<u64>
§file: Option<u64>
§kernel_stack: Option<u64>
§pagetables: Option<u64>
§shmem: Option<u64>
§file_mapped: Option<u64>
§file_dirty: Option<u64>
§file_writeback: Option<u64>
§swapcached: Option<u64>
§anon_thp: Option<u64>
§file_thp: Option<u64>
§shmem_thp: Option<u64>
§inactive_anon: Option<u64>
§active_anon: Option<u64>
§inactive_file: Option<u64>
§active_file: Option<u64>
§unevictable: Option<u64>
§slab_reclaimable: Option<u64>
§slab_unreclaimable: Option<u64>
§workingset_refault_anon: Option<f64>
§workingset_refault_file: Option<f64>
§workingset_activate_anon: Option<f64>
§workingset_activate_file: Option<f64>
§workingset_restore_anon: Option<f64>
§workingset_restore_file: Option<f64>
§workingset_nodereclaim: Option<f64>
Implementations§
source§impl CgroupMemoryNumaModel
impl CgroupMemoryNumaModel
pub fn new( begin: &MemoryNumaStat, last: Option<(&MemoryNumaStat, Duration)> ) -> CgroupMemoryNumaModel
Trait Implementations§
source§impl Clone for CgroupMemoryNumaModel
impl Clone for CgroupMemoryNumaModel
source§fn clone(&self) -> CgroupMemoryNumaModel
fn clone(&self) -> CgroupMemoryNumaModel
Returns a copy 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 CgroupMemoryNumaModel
impl Debug for CgroupMemoryNumaModel
source§impl Default for CgroupMemoryNumaModel
impl Default for CgroupMemoryNumaModel
source§fn default() -> CgroupMemoryNumaModel
fn default() -> CgroupMemoryNumaModel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CgroupMemoryNumaModel
impl<'de> Deserialize<'de> for CgroupMemoryNumaModel
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for CgroupMemoryNumaModel
impl PartialEq for CgroupMemoryNumaModel
source§fn eq(&self, other: &CgroupMemoryNumaModel) -> bool
fn eq(&self, other: &CgroupMemoryNumaModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Queriable for CgroupMemoryNumaModel
impl Queriable for CgroupMemoryNumaModel
source§impl Serialize for CgroupMemoryNumaModel
impl Serialize for CgroupMemoryNumaModel
impl StructuralPartialEq for CgroupMemoryNumaModel
Auto Trait Implementations§
impl Freeze for CgroupMemoryNumaModel
impl RefUnwindSafe for CgroupMemoryNumaModel
impl Send for CgroupMemoryNumaModel
impl Sync for CgroupMemoryNumaModel
impl Unpin for CgroupMemoryNumaModel
impl UnwindSafe for CgroupMemoryNumaModel
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