pub struct Window {
pub start: u64,
pub end: u64,
pub device: String,
pub drive: Option<u64>,
pub slice: Option<u64>,
pub daemon: Option<u64>,
pub commits: Option<u64>,
pub store: Option<String>,
}Expand description
What a window’s readings add up to, as the history stores it.
Fields§
§start: u64Its first reading, in ms.
end: u64Its last reading, in ms.
device: StringThe disks it read: nvme2n1.
drive: Option<u64>Bytes the disks wrote; None when a reading lacked them.
slice: Option<u64>Bytes the runners’ slice wrote to them, its containers’ and those it had that are gone; None when a
reading lacked them.
daemon: Option<u64>Bytes the daemon itself wrote (/proc/self/io’s write_bytes), to any disk; None when a reading lacked
them.
commits: Option<u64>btrfs transaction commits; None on another file system or when a reading lacked them.
store: Option<String>The loop devices Docker’s root is on when it is a file system in a file on device: loop0. The runner
slice’s figure is then what it wrote to that file system.
Trait Implementations§
impl Eq for Window
impl StructuralPartialEq for Window
Auto Trait Implementations§
impl Forget for Window
impl Freeze for Window
impl Move for Window
impl RefUnwindSafe for Window
impl Send for Window
impl Sync for Window
impl Unpin for Window
impl UnsafeUnpin for Window
impl UnwindSafe for Window
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.