#include <allocator_mtl.h>
Public Member Functions | |
DebugAllocatorStats () | |
~DebugAllocatorStats () | |
void | Increment (size_t size) |
Increment the tracked allocation size in bytes. More... | |
void | Decrement (size_t size) |
Decrement the tracked allocation size in bytes. More... | |
Bytes | GetAllocationSize () |
Get the current tracked allocation size. More... | |
Definition at line 16 of file allocator_mtl.h.
|
inline |
Definition at line 18 of file allocator_mtl.h.
|
inline |
Definition at line 20 of file allocator_mtl.h.
void impeller::DebugAllocatorStats::Decrement | ( | size_t | size | ) |
Decrement the tracked allocation size in bytes.
Definition at line 52 of file allocator_mtl.mm.
Bytes impeller::DebugAllocatorStats::GetAllocationSize | ( | ) |
void impeller::DebugAllocatorStats::Increment | ( | size_t | size | ) |
Increment the tracked allocation size in bytes.
Definition at line 48 of file allocator_mtl.mm.