MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / calcUsedMemory

Method calcUsedMemory

source/MRViewer/MRHistoryStore.cpp:157–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157size_t HistoryStore::calcUsedMemory() const
158{
159 size_t currentStackSize = 0;
160 for ( int i = 0; i < firstRedoIndex_; ++i )
161 currentStackSize += stack_[i]->heapBytes();
162 return currentStackSize;
163}
164
165void HistoryStore::filterByMemoryLimit_()
166{

Callers

nothing calls this directly

Calls 1

heapBytesMethod · 0.45

Tested by

no test coverage detected