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)
- In
Allocator.c:141:
#if MISRA_HAVE_ALLOC_STATS
AllocatorStats AllocatorGetStats(const Allocator *self) {
ValidateAllocator(self);
return self->stats;
Last updated on