MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / new_allocated_count

Method new_allocated_count

crates/data-structures/src/object_pool.rs:111–113  ·  view source on GitHub ↗

Returns the number of fresh objects allocated through the pool.

(&self)

Source from the content-addressed store, hash-verified

109
110 /// Returns the number of fresh objects allocated through the pool.
111 pub fn new_allocated_count(&self) -> usize {
112 self.inner.new_allocated_count.load(Ordering::Relaxed)
113 }
114
115 /// Returns the number of objects reused from the pool.
116 pub fn reused_count(&self) -> usize {

Callers 3

fmtMethod · 0.80
spawn_page_pool_statsFunction · 0.80

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected