Function ckb_memory_tracker::track_current_process
source · pub fn track_current_process<Tracker: 'static + TrackRocksDBMemory + Sync + Send>(
interval: u64,
tracker_opt: Option<Arc<Tracker>>
)
Expand description
Track the memory usage of the CKB process, Jemalloc and RocksDB through ckb-metrics.