struct Counters

Defined at line 79 of file ../../zircon/kernel/lib/heap/profile/include/lib/heap_profile.h

Aggregated statistics for a given allocation backtrace.

This is exposed to the userspace.

Counters are updated without ordering or visibility guarantees.

Public Members

atomic live_count
atomic live_bytes
atomic total_count
atomic total_bytes

Public Methods

void allocate (uint64_t size)

Defined at line 85 of file ../../zircon/kernel/lib/heap/profile/include/lib/heap_profile.h

void deallocate (uint64_t size)

Defined at line 92 of file ../../zircon/kernel/lib/heap/profile/include/lib/heap_profile.h