MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ live_arena_dump()

MAYAFLUX_API void MayaFlux::live_arena_dump ( )
noexcept

Dumps all live arena entries to stderr.

Prints each occupied entry's index, key, and offset, followed by the total entry count and bump pointer value. Intended for diagnostic use during development; output goes to stderr unconditionally.

Definition at line 32 of file LiveArena.cpp.

33{
34 auto* hdr = internal::live_arena_header();
35 for (uint32_t i = 0; i < hdr->entry_count; ++i) {
36 auto& entry = hdr->entries[i];
37 fprintf(stderr, "[LiveArena] %u: key=\"%s\" occupied=%d offset=%u\n",
38 i, entry.key, (int)entry.occupied, entry.offset);
39 }
40 fprintf(stderr, "[LiveArena] entry_count=%u bump=%u\n",
41 hdr->entry_count, internal::g_live_arena_bump);
42}

References MayaFlux::internal::g_live_arena_bump, and MayaFlux::internal::live_arena_header().

+ Here is the call graph for this function: