liarsdice::performance::MemoryTracker class

Memory usage tracker.

Provides statistics about memory allocation patterns.

Public types

struct Stats

Public static functions

static auto instance() -> MemoryTracker&

Public functions

void track_allocation(std::size_t size)
void track_deallocation(std::size_t size)
auto get_stats() const -> const Stats&
void reset()
void print_report() const