Skip to main content

Histogram

Enum Histogram 

Source
#[repr(u32)]
pub enum Histogram {
Show 68 variants DbGet = 0, DbWrite = 1, CompactionTime = 2, CompactionCpuTime = 3, SubcompactionSetupTime = 4, TableSyncMicros = 5, CompactionOutfileSyncMicros = 6, WalFileSyncMicros = 7, ManifestFileSyncMicros = 8, TableOpenIoMicros = 9, DbMultiget = 10, ReadBlockCompactionMicros = 11, ReadBlockGetMicros = 12, WriteRawBlockMicros = 13, NumFilesInSingleCompaction = 14, DbSeek = 15, WriteStall = 16, SstReadMicros = 17, FileReadFlushMicros = 18, FileReadCompactionMicros = 19, FileReadDbOpenMicros = 20, FileReadGetMicros = 21, FileReadMultigetMicros = 22, FileReadDbIteratorMicros = 23, FileReadVerifyDbChecksumMicros = 24, FileReadVerifyFileChecksumsMicros = 25, SstWriteMicros = 26, FileWriteFlushMicros = 27, FileWriteCompactionMicros = 28, FileWriteDbOpenMicros = 29, NumSubcompactionsScheduled = 30, BytesPerRead = 31, BytesPerWrite = 32, BytesPerMultiget = 33, CompressionTimesNanos = 34, DecompressionTimesNanos = 35, ReadNumMergeOperands = 36, BlobDbKeySize = 37, BlobDbValueSize = 38, BlobDbWriteMicros = 39, BlobDbGetMicros = 40, BlobDbMultigetMicros = 41, BlobDbSeekMicros = 42, BlobDbNextMicros = 43, BlobDbPrevMicros = 44, BlobDbBlobFileWriteMicros = 45, BlobDbBlobFileReadMicros = 46, BlobDbBlobFileSyncMicros = 47, BlobDbCompressionMicros = 48, BlobDbDecompressionMicros = 49, FlushTime = 50, SstBatchSize = 51, MultigetIoBatchSize = 52, NumIndexAndFilterBlocksReadPerLevel = 53, NumSstReadPerLevel = 54, NumLevelReadPerMultiget = 55, ErrorHandlerAutoresumeRetryCount = 56, AsyncReadBytes = 57, PollWaitMicros = 58, CompactionPrefetchBytes = 59, PrefetchedBytesDiscarded = 60, AsyncPrefetchAbortMicros = 61, TableOpenPrefetchTailReadBytes = 62, NumOpPerTransaction = 63, MultiscanPrepareIterators = 64, MultiscanPrepareMicros = 65, MultiscanBlocksPerPrepare = 66, BlockKeyDistributionCv = 67,
}

Variants§

§

DbGet = 0

§

DbWrite = 1

§

CompactionTime = 2

§

CompactionCpuTime = 3

§

SubcompactionSetupTime = 4

§

TableSyncMicros = 5

§

CompactionOutfileSyncMicros = 6

§

WalFileSyncMicros = 7

§

ManifestFileSyncMicros = 8

§

TableOpenIoMicros = 9

§

DbMultiget = 10

§

ReadBlockCompactionMicros = 11

§

ReadBlockGetMicros = 12

§

WriteRawBlockMicros = 13

§

NumFilesInSingleCompaction = 14

§

DbSeek = 15

§

WriteStall = 16

§

SstReadMicros = 17

§

FileReadFlushMicros = 18

§

FileReadCompactionMicros = 19

§

FileReadDbOpenMicros = 20

§

FileReadGetMicros = 21

§

FileReadMultigetMicros = 22

§

FileReadDbIteratorMicros = 23

§

FileReadVerifyDbChecksumMicros = 24

§

FileReadVerifyFileChecksumsMicros = 25

§

SstWriteMicros = 26

§

FileWriteFlushMicros = 27

§

FileWriteCompactionMicros = 28

§

FileWriteDbOpenMicros = 29

§

NumSubcompactionsScheduled = 30

§

BytesPerRead = 31

§

BytesPerWrite = 32

§

BytesPerMultiget = 33

§

CompressionTimesNanos = 34

§

DecompressionTimesNanos = 35

§

ReadNumMergeOperands = 36

§

BlobDbKeySize = 37

§

BlobDbValueSize = 38

§

BlobDbWriteMicros = 39

§

BlobDbGetMicros = 40

§

BlobDbMultigetMicros = 41

§

BlobDbSeekMicros = 42

§

BlobDbNextMicros = 43

§

BlobDbPrevMicros = 44

§

BlobDbBlobFileWriteMicros = 45

§

BlobDbBlobFileReadMicros = 46

§

BlobDbBlobFileSyncMicros = 47

§

BlobDbCompressionMicros = 48

§

BlobDbDecompressionMicros = 49

§

FlushTime = 50

§

SstBatchSize = 51

§

MultigetIoBatchSize = 52

§

NumIndexAndFilterBlocksReadPerLevel = 53

§

NumSstReadPerLevel = 54

§

NumLevelReadPerMultiget = 55

§

ErrorHandlerAutoresumeRetryCount = 56

§

AsyncReadBytes = 57

§

PollWaitMicros = 58

§

CompactionPrefetchBytes = 59

§

PrefetchedBytesDiscarded = 60

§

AsyncPrefetchAbortMicros = 61

§

TableOpenPrefetchTailReadBytes = 62

§

NumOpPerTransaction = 63

§

MultiscanPrepareIterators = 64

§

MultiscanPrepareMicros = 65

§

MultiscanBlocksPerPrepare = 66

§

BlockKeyDistributionCv = 67

Implementations§

Source§

impl Histogram

Source

pub const fn name(&self) -> &'static str

The corresponding rocksdb string identifier for this variant

Source

pub fn iter() -> Iter<'static, Histogram>

Trait Implementations§

Source§

impl Clone for Histogram

Source§

fn clone(&self) -> Histogram

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for Histogram

Source§

impl Debug for Histogram

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for Histogram

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for Histogram

Source§

impl FromStr for Histogram

Source§

type Err = NameParseError

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
Source§

impl PartialEq for Histogram

Source§

fn eq(&self, other: &Histogram) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for Histogram

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.