Struct kvdb::IoStats [−][src]
pub struct IoStats {
pub transactions: u64,
pub reads: u64,
pub cache_reads: u64,
pub writes: u64,
pub bytes_read: u64,
pub cache_read_bytes: u64,
pub bytes_written: u64,
pub started: Instant,
pub span: Duration,
}Expand description
Statistic for the span period
Fields
transactions: u64Number of transaction.
reads: u64Number of read operations.
cache_reads: u64Number of reads resulted in a read from cache.
writes: u64Number of write operations.
bytes_read: u64Number of bytes read
cache_read_bytes: u64Number of bytes read from cache
bytes_written: u64Number of bytes write
started: InstantStart of the statistic period.
span: DurationTotal duration of the statistic period.
Implementations
Average batch (transaction) size (writes per transaction)
Read operations per second.
Write operations per second.
Total number of operations per second.
Transactions per second.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for IoStatsimpl UnwindSafe for IoStatsBlanket Implementations
Mutably borrows from an owned value. Read more