#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... | |
| size_t | GetAllocationSizeMB () |
| Get the current tracked allocation size in MB. 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 97 of file allocator_mtl.mm.
| size_t impeller::DebugAllocatorStats::GetAllocationSizeMB | ( | ) |
Get the current tracked allocation size in MB.
Definition at line 101 of file allocator_mtl.mm.
| void impeller::DebugAllocatorStats::Increment | ( | size_t | size | ) |
Increment the tracked allocation size in bytes.
Definition at line 93 of file allocator_mtl.mm.