pub struct IoCounter {
pub read_operation_count: u64,
pub write_operation_count: u64,
pub other_operation_count: u64,
pub read_transfer_count: u64,
pub write_transfer_count: u64,
pub other_transfer_count: u64,
}
Expand description
the process’s IO counter struct
Fields§
§read_operation_count: u64
§write_operation_count: u64
§other_operation_count: u64
§read_transfer_count: u64
§write_transfer_count: u64
§other_transfer_count: u64
Implementations§
Source§impl IoCounter
impl IoCounter
Sourcepub fn get_read_operation_count(&self) -> u64
pub fn get_read_operation_count(&self) -> u64
get the process’s read operation count
Sourcepub fn get_write_operation_count(&self) -> u64
pub fn get_write_operation_count(&self) -> u64
get the process’s write operation count
Sourcepub fn get_other_operation_count(&self) -> u64
pub fn get_other_operation_count(&self) -> u64
get the process’s other operation count
Sourcepub fn get_read_transfer_count(&self) -> u64
pub fn get_read_transfer_count(&self) -> u64
get the process’s read transfer count
Sourcepub fn get_write_transfer_count(&self) -> u64
pub fn get_write_transfer_count(&self) -> u64
get the process’s write transfer count
Sourcepub fn get_other_transfer_count(&self) -> u64
pub fn get_other_transfer_count(&self) -> u64
get the process’s other transfer
Sourcepub fn get_total_operations(&self) -> u64
pub fn get_total_operations(&self) -> u64
Get total IO operations count
Auto Trait Implementations§
impl Freeze for IoCounter
impl RefUnwindSafe for IoCounter
impl Send for IoCounter
impl Sync for IoCounter
impl Unpin for IoCounter
impl UnwindSafe for IoCounter
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