Commit a12fe4f9 authored by follitude's avatar follitude Committed by siddontang

add histograms (#122)

parent dab2ef77
...@@ -193,7 +193,35 @@ pub enum DBStatisticsTickerType { ...@@ -193,7 +193,35 @@ pub enum DBStatisticsTickerType {
pub enum DBStatisticsHistogramType { pub enum DBStatisticsHistogramType {
GetMicros = 0, GetMicros = 0,
WriteMicros = 1, WriteMicros = 1,
CompactionTime = 2,
SubcompactionSetupTime = 3,
TableSyncMicros = 4,
CompactionOutfileSyncMicros = 5,
WalFileSyncMicros = 6,
ManifestFileSyncMicros = 7,
TableOpenIOMicros = 8,
MultiGetMicros = 9,
ReadBlockCompactionMicros = 10,
ReadBlockGetMicros = 11,
WriteRawBlockMicros = 12,
StallL0SlowdownCount = 13,
StallMemtableCompactionCount = 14,
StallL0NumFilesCount = 15,
HardRateLimitDelayCount = 16,
SoftRateLimitDelayCount = 17,
NumFilesInSingleCompaction = 18,
SeekMicros = 19, SeekMicros = 19,
WriteStall = 20,
SSTReadMicros = 21,
NumSubcompactionsScheduled = 22,
BytesPerRead = 23,
BytesPerWrite = 24,
BytesPerMultiget = 25,
BytesCompressed = 26,
BytesDecompressed = 27,
CompressionTimesNanos = 28,
DecompressionTimesNanos = 29,
ReadNumMergeOperands = 30,
} }
#[derive(Copy, Clone)] #[derive(Copy, Clone)]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment