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

Method record_buffer_deallocation

src/protocol/memory_monitor.rs:169–171  ·  view source on GitHub ↗

Record buffer pool memory deallocation

(&self, bytes: u64)

Source from the content-addressed store, hash-verified

167
168 /// Record buffer pool memory deallocation
169 pub fn record_buffer_deallocation(&self, bytes: u64) {
170 self.buffer_pool_bytes.fetch_sub(bytes, Ordering::Relaxed);
171 }
172
173 /// Record message construction memory usage
174 pub fn record_message_allocation(&self, bytes: u64) {

Callers 3

return_bufferMethod · 0.80
test_memory_deallocationFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_memory_deallocationFunction · 0.64