Struct tikv::server::service::diagnostics::ioload::IoLoad[][src]

pub struct IoLoad {
    pub read_io: f64,
    pub read_merges: f64,
    pub read_sectors: f64,
    pub read_ticks: f64,
    pub write_io: f64,
    pub write_merges: f64,
    pub write_sectors: f64,
    pub write_ticks: f64,
    pub in_flight: f64,
    pub io_ticks: f64,
    pub time_in_queue: f64,
    pub discard_io: Option<f64>,
    pub discard_merged: Option<f64>,
    pub discard_sectors: Option<f64>,
    pub discard_ticks: Option<f64>,
}

IoLoad represents current system block devices IO statistics

Fields

read_io: f64

number of read I/Os processed units: requests

read_merges: f64

number of read I/Os merged with in-queue I/O units: requests

read_sectors: f64

number of sectors read units: sectors

read_ticks: f64

total wait time for read requests units: milliseconds

write_io: f64

number of write I/Os processed units: requests

write_merges: f64

number of write I/Os merged with in-queue I/O units: requests

write_sectors: f64

number of sectors written units: sectors

write_ticks: f64

total wait time for write requests units: milliseconds

in_flight: f64

number of I/Os currently in flight units: requests

io_ticks: f64

total time this block device has been active units: milliseconds

time_in_queue: f64

total wait time for all requests units: milliseconds

discard_io: Option<f64>

number of discard I/Os processed units: requests

discard_merged: Option<f64>

number of discard I/Os merged with in-queue I/O units: requests

discard_sectors: Option<f64>

number of sectors discarded units: sectors

discard_ticks: Option<f64>

total wait time for discard requests units: milliseconds

Implementations

impl IoLoad[src]

pub fn snapshot() -> HashMap<String, IoLoad>[src]

Returns the current IO statistics

Trait Implementations

impl Debug for IoLoad[src]

Auto Trait Implementations

impl RefUnwindSafe for IoLoad

impl Send for IoLoad

impl Sync for IoLoad

impl Unpin for IoLoad

impl UnwindSafe for IoLoad

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<V, W> ConvertFrom<W> for V where
    W: ConvertTo<V>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized
[src]

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]