|
Deki 0.40.1
Modular C++ engine with a visual editor, for 2D and 3D
|
One place in the code that allocates through the engine, and what it holds. More...
#include <deki/providers/Memory.h>
Public Attributes | |
| uint32_t | blocks |
| allocations held now | |
| uint32_t | externalBytes |
| held now in the External region | |
| const char * | file |
| AllocContext::File(); null for the overflow row. | |
| const char * | function |
| AllocContext::Name(); null for the overflow row. | |
| uint32_t | internalBytes |
| held now outside the External region | |
| uint32_t | line |
| 0 for the overflow row | |
| uint32_t | peakBytes |
| the most held at once, both regions together | |
One place in the code that allocates through the engine, and what it holds.
A site is the call site an AllocContext captured, so the breakdown names code the way a failure does, with nothing tagged by hand. Read them with Memory::GetSiteCount and Memory::GetSite.
| uint32_t Deki::MemorySite::blocks |
allocations held now
| uint32_t Deki::MemorySite::externalBytes |
held now in the External region
| const char* Deki::MemorySite::file |
AllocContext::File(); null for the overflow row.
| const char* Deki::MemorySite::function |
AllocContext::Name(); null for the overflow row.
| uint32_t Deki::MemorySite::internalBytes |
held now outside the External region
| uint32_t Deki::MemorySite::line |
0 for the overflow row
| uint32_t Deki::MemorySite::peakBytes |
the most held at once, both regions together