DEKI/ENGINE docs
manual api reference
Deki 0.40.1
Modular C++ engine with a visual editor, for 2D and 3D
Loading...
Searching...
No Matches
Deki::MemorySite Struct Reference

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

Detailed Description

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.

Member Data Documentation

◆ blocks

uint32_t Deki::MemorySite::blocks

allocations held now

◆ externalBytes

uint32_t Deki::MemorySite::externalBytes

held now in the External region

◆ file

const char* Deki::MemorySite::file

AllocContext::File(); null for the overflow row.

◆ function

const char* Deki::MemorySite::function

AllocContext::Name(); null for the overflow row.

◆ internalBytes

uint32_t Deki::MemorySite::internalBytes

held now outside the External region

◆ line

uint32_t Deki::MemorySite::line

0 for the overflow row

◆ peakBytes

uint32_t Deki::MemorySite::peakBytes

the most held at once, both regions together


The documentation for this struct was generated from the following file:
  • deki-engine/include/deki/providers/Memory.h