Struct engine_rocks::perf_context_impl::PerfContextStatistics[][src]

pub struct PerfContextStatistics {
    pub perf_level: PerfLevel,
    pub kind: PerfContextKind,
    pub write_wal_time: u64,
    pub pre_and_post_process: u64,
    pub write_memtable_time: u64,
    pub write_thread_wait: u64,
    pub db_mutex_lock_nanos: u64,
    pub write_scheduling_flushes_compactions_time: u64,
    pub db_condition_wait_nanos: u64,
    pub write_delay_time: u64,
}

Fields

perf_level: PerfLevelkind: PerfContextKindwrite_wal_time: u64pre_and_post_process: u64write_memtable_time: u64write_thread_wait: u64db_mutex_lock_nanos: u64write_scheduling_flushes_compactions_time: u64db_condition_wait_nanos: u64write_delay_time: u64

Implementations

impl PerfContextStatistics[src]

pub fn new(perf_level: PerfLevel, kind: PerfContextKind) -> Self[src]

Create an instance which stores instant statistics values, retrieved at creation.

pub fn start(&mut self)[src]

pub fn report(&mut self)[src]

Auto Trait Implementations

impl RefUnwindSafe for PerfContextStatistics

impl Send for PerfContextStatistics

impl Sync for PerfContextStatistics

impl Unpin for PerfContextStatistics

impl UnwindSafe for PerfContextStatistics

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<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> 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]