Struct tikv::storage::PerfStatisticsInstant [−][src]
Store statistics we need. Data comes from RocksDB’s PerfContext
.
This statistics store instant values.
Implementations
impl PerfStatisticsInstant
[src][−]
pub fn new() -> PerfStatisticsInstant
[src][−]
Create an instance which stores instant statistics values, retrieved at creation.
pub fn delta(&self) -> PerfStatisticsDelta
[src][−]
Calculate delta values until now.
Trait Implementations
impl Clone for PerfStatisticsInstant
[src][+]
impl Copy for PerfStatisticsInstant
[src]
impl Debug for PerfStatisticsInstant
[src][+]
impl KV for PerfStatisticsInstant
[src][+]
impl !Send for PerfStatisticsInstant
[src]
impl !Sync for PerfStatisticsInstant
[src]
Auto Trait Implementations
impl RefUnwindSafe for PerfStatisticsInstant
impl Unpin for PerfStatisticsInstant
impl UnwindSafe for PerfStatisticsInstant
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<V, W> ConvertFrom<W> for V where
W: ConvertTo<V>,
[src][+]
W: ConvertTo<V>,
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][+]
U: From<T>,
impl<T> Pointable for T
[src][+]
impl<T> Pointable for T
[src][+]
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> Sealed<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> SendSyncRefUnwindSafeKV for T where
T: KV + Send + Sync + RefUnwindSafe + ?Sized,
[src]
T: KV + Send + Sync + RefUnwindSafe + ?Sized,
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,