Skip to content
AllocatorResetStats

AllocatorResetStats

Description

Zero every counter on self. peak_bytes_in_use is reset to the current bytes_in_use so subsequent peak tracking is monotonically correct from this point forward.

Usage example (Cross-references)

Usage examples (Cross-references)
    }
    
    void AllocatorResetStats(Allocator *self) {
        ValidateAllocator(self);
        u64 in_use                  = self->stats.bytes_in_use;
Last updated on