MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / bytesAllocated

Method bytesAllocated

src/simulate/heap.cpp:155–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153 }
154 int PersistentHeapAllocator::depth() const { return model.depth(); }
155 uint64_t PersistentHeapAllocator::bytesAllocated() const { return model.bytesAllocated(); }
156 uint64_t PersistentHeapAllocator::totalAlignedMemoryAllocated() const { return model.totalAlignedMemoryAllocated(); }
157
158 bool PersistentHeapAllocator::isOwnPtr ( char * ptr, uint64_t size ) { return model.isOwnPtr(ptr,size); }

Callers 12

maybe_collect_gcFunction · 0.45
collectHeapMethod · 0.45
impl_allocateMethod · 0.45
impl_reallocateMethod · 0.45
logMemInfoMethod · 0.45
heap_statsFunction · 0.45
heap_bytes_allocatedFunction · 0.45
logMemInfoMethod · 0.45
relocateCodeMethod · 0.45
throw_out_of_memoryMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected