MCPcopy Create free account
hub / github.com/catboost/catboost / MemoryAllocated

Method MemoryAllocated

util/memory/pool.h:274–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272 }
273
274 inline size_t MemoryAllocated() const noexcept {
275 return MemoryAllocatedBeforeCurrent_ + (Current_ != &Empty_ ? Current_->Used() : 0);
276 }
277
278 inline size_t MemoryWaste() const noexcept {
279 return MemoryWasteBeforeCurrent_ + (Current_ != &Empty_ ? Current_->Left() : 0);

Callers 2

TestMemPoolMethod · 0.80

Calls 1

UsedMethod · 0.80

Tested by 2

TestMemPoolMethod · 0.64