MCPcopy Create free account
hub / github.com/ImageEngine/cortex / memoryUsage

Method memoryUsage

src/IECore/ObjectPool.cpp:135–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135size_t ObjectPool::memoryUsage() const
136{
137 return m_data->cache.currentCost();
138}
139
140ObjectPool *ObjectPool::defaultObjectPool()
141{

Callers 6

testConstructorMethod · 0.95
testUniquenessMethod · 0.95
testRemovalMethod · 0.95
testMaxMemoryUsageMethod · 0.95
testMethod · 0.95
storeMethod · 0.45

Calls

no outgoing calls

Tested by 4

testConstructorMethod · 0.76
testUniquenessMethod · 0.76
testRemovalMethod · 0.76
testMaxMemoryUsageMethod · 0.76