Return the current statistics that may later be passed to restoreStatistics, and reset the current statistic as follows:
Synopsis
Declared in <bslma_testallocator.h>
TestAllocatorStashedStatistics
stashStatistics();
Description
Statistic | Reset value to ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ | ‐‐‐‐‐‐‐‐‐‐‐‐‐‐ numAllocations | numBlocksInUse numDeallocations | ZERO numMismatches | ZERO numBoundsErrors | ZERO numBlocksMax | numBlocksInUse numBytesMax | numBytesInUse numBlocksTotal | numBlocksInUse numBytesTotal | numBytesInUse
See also restoreStatistics.
Created with MrDocs