pub struct FileManagerIoStats {
pub n_file_opens: u64,
pub n_sequential_reads: u64,
pub n_sequential_read_bytes: u64,
pub n_sequential_writes: u64,
pub n_sequential_write_bytes: u64,
pub n_random_reads: u64,
pub n_random_read_bytes: u64,
}Expand description
Snapshot of FileManager I/O statistics.
FILEMGR_FILE_OPENS, FILEMGR_SEQUENTIAL_READS/WRITES, FILEMGR_RANDOM_READS etc.
Fields§
§n_file_opens: u64Number of log files opened (LRU cache miss).
n_sequential_reads: u64Number of sequential read operations (recovery scan).
n_sequential_read_bytes: u64Total bytes read sequentially.
n_sequential_writes: u64Number of sequential write operations.
n_sequential_write_bytes: u64Total bytes written sequentially.
n_random_reads: u64Number of random (point-lookup) read operations.
n_random_read_bytes: u64Total bytes from random read operations.
Trait Implementations§
Source§impl Clone for FileManagerIoStats
impl Clone for FileManagerIoStats
Source§fn clone(&self) -> FileManagerIoStats
fn clone(&self) -> FileManagerIoStats
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 moreSource§impl Debug for FileManagerIoStats
impl Debug for FileManagerIoStats
Source§impl Default for FileManagerIoStats
impl Default for FileManagerIoStats
Source§fn default() -> FileManagerIoStats
fn default() -> FileManagerIoStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FileManagerIoStats
impl RefUnwindSafe for FileManagerIoStats
impl Send for FileManagerIoStats
impl Sync for FileManagerIoStats
impl Unpin for FileManagerIoStats
impl UnsafeUnpin for FileManagerIoStats
impl UnwindSafe for FileManagerIoStats
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