MCPcopy Create free account
hub / github.com/erans/pgsqlite / total_bytes

Method total_bytes

src/protocol/memory_monitor.rs:108–110  ·  view source on GitHub ↗

Get total memory usage

(&self)

Source from the content-addressed store, hash-verified

106impl MemoryStats {
107 /// Get total memory usage
108 pub fn total_bytes(&self) -> u64 {
109 self.buffer_pool_bytes + self.message_bytes + self.query_bytes
110 }
111
112 /// Calculate memory efficiency (reuse rate)
113 pub fn efficiency_percentage(&self) -> f64 {

Callers 4

check_memory_pressureMethod · 0.80
efficiency_percentageMethod · 0.80
get_statsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected