#include <ExpHeap.hh>
Memory blocks have group IDs assigned to them (default 0). This class is a record of the total sum of those blocks' sizes, categorized by group ID. Used for memory profiling.
Interfaces with the expanded heap via ExpHeap::calcGroupSize.
Definition at line 21 of file ExpHeap.hh.
Public Member Functions | |
| void | reset () |
| size_t | getGroupSize (u16 groupID) const |
| void | addSize (u16 groupID, size_t size) |
| constexpr size_t | size () const |
Private Attributes | |
| std::array< size_t, 256 > | m_entries |
|
0x80226DD0 |
Definition at line 128 of file ExpHeap.cc.
|
0x80226E98 |
Definition at line 144 of file ExpHeap.cc.
|
nodiscard |
Definition at line 139 of file ExpHeap.cc.
|
0x80226E00 |
Definition at line 133 of file ExpHeap.cc.
|
inlinenodiscardconstexpr |
Definition at line 28 of file ExpHeap.hh.
|
private |
Definition at line 33 of file ExpHeap.hh.