Skip to content
AllocatorGetStats

AllocatorGetStats

Description

Snapshot the current stats off self. Returns the struct by value; reading does not perturb the counters.

Usage example (Cross-references)

Usage examples (Cross-references)
    
    #if MISRA_HAVE_ALLOC_STATS
    AllocatorStats AllocatorGetStats(const Allocator *self) {
        ValidateAllocator(self);
        return self->stats;
Last updated on