pub struct KsmStats {
pub pages_shared: u64,
pub pages_sharing: u64,
pub pages_unshared: u64,
pub pages_scanned: u64,
pub merge_ratio_x100: u64,
}Expand description
Statistics reported by the KSM scanner.
Fields§
Pages currently merged (canonical pages in stable tree).
pages_sharing: u64Pages currently mapped COW to a shared page.
Pages scanned but not merged (unique content).
pages_scanned: u64Total pages scanned since last reset.
merge_ratio_x100: u64Ratio: pages_sharing / pages_shared (x100 for integer display).
Trait Implementations§
impl Copy for KsmStats
Auto Trait Implementations§
impl Freeze for KsmStats
impl RefUnwindSafe for KsmStats
impl Send for KsmStats
impl Sync for KsmStats
impl Unpin for KsmStats
impl UnwindSafe for KsmStats
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)