pub struct ProcessSample {
pub cpu_ticks: u64,
pub process_start_ticks: u64,
pub rss_hwm_kib: u64,
}Expand description
One broker process in a resource snapshot.
Fields§
§cpu_ticks: u64utime + stime from /proc/<pid>/stat, in clock ticks.
process_start_ticks: u64starttime from /proc/<pid>/stat, in clock ticks since boot. A
container restart keeps the pod name but changes this.
rss_hwm_kib: u64VmHWM from /proc/<pid>/status: peak RSS since the process started.
Trait Implementations§
Source§impl Clone for ProcessSample
impl Clone for ProcessSample
Source§fn clone(&self) -> ProcessSample
fn clone(&self) -> ProcessSample
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProcessSample
Source§impl Debug for ProcessSample
impl Debug for ProcessSample
impl Eq for ProcessSample
Source§impl PartialEq for ProcessSample
impl PartialEq for ProcessSample
impl StructuralPartialEq for ProcessSample
Auto Trait Implementations§
impl Freeze for ProcessSample
impl RefUnwindSafe for ProcessSample
impl Send for ProcessSample
impl Sync for ProcessSample
impl Unpin for ProcessSample
impl UnsafeUnpin for ProcessSample
impl UnwindSafe for ProcessSample
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