Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ImageEngine/cortex
/ setMaxMemoryUsage
Method
setMaxMemoryUsage
src/IECore/ObjectPool.cpp:125–128 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
123
}
124
125
void ObjectPool::setMaxMemoryUsage( size_t maxMemory )
126
{
127
m_data->cache.setMaxCost(maxMemory);
128
}
129
130
size_t ObjectPool::getMaxMemoryUsage() const
131
{
Callers
3
testMaxMemoryUsage
Method · 0.95
test
Method · 0.95
test
Method · 0.80
Calls
no outgoing calls
Tested by
2
testMaxMemoryUsage
Method · 0.76
test
Method · 0.64