Skip to main content

Module perf

Module perf 

Source

Structs§

MemoryUsage
Wrap over memory_usage_t. Hold current memory usage of the specified DB instances and caches
MemoryUsageBuilder
Creates MemoryUsage from DBs and caches.
MemoryUsageStats
Memory usage stats
PerfContext
Thread local context for gathering performance counter efficiently and transparently.

Enums§

PerfMetric
Rust representation of the performance metrics from RocksDB’s perf_context
PerfStatsLevel

Functions§

get_memory_usage_stats
Get memory usage stats from DB instances and Cache instances
set_perf_stats
Sets the perf stats level for current thread.