pub struct NodePlacement {
pub home: f64,
pub far: f64,
pub moved: usize,
pub filled: usize,
}Expand description
Where two sets of file spans sit after Pool::place_file_pages.
Fields§
§home: f64Share of a sample of the home spans on the home node.
far: f64Share of a sample of the far spans on the far node.
moved: usizeBytes dropped from the page cache and read again by their node.
filled: usizeBytes the page cache did not hold, read by their node.
Trait Implementations§
Source§impl Clone for NodePlacement
impl Clone for NodePlacement
impl Copy for NodePlacement
Source§impl Debug for NodePlacement
impl Debug for NodePlacement
Auto Trait Implementations§
impl Forget for NodePlacement
impl Freeze for NodePlacement
impl Move for NodePlacement
impl RefUnwindSafe for NodePlacement
impl Send for NodePlacement
impl Sync for NodePlacement
impl Unpin for NodePlacement
impl UnsafeUnpin for NodePlacement
impl UnwindSafe for NodePlacement
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