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

Method memoryUsage

src/IECoreVDB/VDBObject.cpp:375–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373}
374
375void VDBObject::memoryUsage( IECore::Object::MemoryAccumulator &acc ) const
376{
377 IECoreScene::VisibleRenderable::memoryUsage( acc );
378
379 for( const auto &it : m_grids )
380 {
381 acc.accumulate( it.second.metadata().get(), it.second.metadata()->memUsage() );
382 }
383}
384
385bool VDBObject::unmodifiedFromFile() const
386{

Callers 1

Calls 3

accumulateMethod · 0.80
getMethod · 0.45
metadataMethod · 0.45

Tested by 1