mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-09 11:46:49 +00:00
[Rocksdb] Measure all FSYNC/SYNC times
Summary: Add stop watches around all sync calls. Test Plan: db_bench check if respective histograms are printed Reviewers: haobo, dhruba Reviewed By: haobo CC: leveldb Differential Revision: https://reviews.facebook.net/D11073
This commit is contained in:
@@ -62,7 +62,12 @@ enum Histograms {
|
||||
DB_GET = 0,
|
||||
DB_WRITE = 1,
|
||||
COMPACTION_TIME = 2,
|
||||
HISTOGRAM_ENUM_MAX = 3,
|
||||
TABLE_SYNC_MICROS = 3,
|
||||
COMPACTION_OUTFILE_SYNC_MICROS = 4,
|
||||
WAL_FILE_SYNC_MICROS = 5,
|
||||
MANIFEST_FILE_SYNC_MICROS = 6,
|
||||
HISTOGRAM_ENUM_MAX = 7
|
||||
|
||||
};
|
||||
|
||||
struct HistogramData {
|
||||
|
||||
Reference in New Issue
Block a user