Crate ckb_memory_tracker

Source
Expand description

Track the memory usage of CKB.

Traits§

TrackRocksDBMemory
A trait which used to track the RocksDB memory usage.

Functions§

jemalloc_profiling_dump
A dummy function which is used when the Jemalloc profiling isn’t supported.
track_current_process
Track the memory usage of the CKB process, Jemalloc and RocksDB through ckb-metrics.
track_current_process_simple
Track the memory usage of the CKB process and Jemalloc.