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

Method record_query_allocation

src/protocol/memory_monitor.rs:185–188  ·  view source on GitHub ↗

Record query processing memory usage

(&self, bytes: u64)

Source from the content-addressed store, hash-verified

183
184 /// Record query processing memory usage
185 pub fn record_query_allocation(&self, bytes: u64) {
186 self.query_bytes.fetch_add(bytes, Ordering::Relaxed);
187 self.check_memory_pressure();
188 }
189
190 /// Record query memory deallocation
191 pub fn record_query_deallocation(&self, bytes: u64) {

Callers 2

Calls 1

check_memory_pressureMethod · 0.45

Tested by 1