MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / dump

Method dump

ogsr_engine/xr_3da/SkeletonMotions.cpp:297–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295 }
296}
297void motions_container::dump()
298{
299 auto it = container.begin();
300 auto _E = container.end();
301 Log("--- motion container --- begin:");
302 u32 sz = sizeof(*this);
303 for (u32 k = 0; it != _E; k++, ++it)
304 {
305 sz += it->second->mem_usage();
306 Msg("#%3d: [%3d/%5d Kb] - %s", k, it->second->m_dwReference.load(), it->second->mem_usage() / 1024, it->first.c_str());
307 }
308 Msg("--- items: %d, mem usage: %d Kb ", container.size(), sz / 1024);
309 Log("--- motion container --- end.");
310}
311
312//////////////////////////////////////////////////////////////////////////
313// High level control

Callers 2

ExecuteMethod · 0.45
ExecuteMethod · 0.45

Calls 8

LogFunction · 0.85
MsgFunction · 0.85
beginMethod · 0.45
endMethod · 0.45
mem_usageMethod · 0.45
loadMethod · 0.45
c_strMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected