Code Listener
[unstable] git snapshot
|
#include <string>
#include <sys/types.h>
Go to the source code of this file.
Functions | |
bool | rawMemUsage (ssize_t *pDst) |
provide the raw amount of currently allocated memory (as glibc reports it) More... | |
bool | initMemDrift () |
initialize memory debugging, taking the current memory state as state zero More... | |
bool | currentMemUsage (ssize_t *pDst) |
provide relative amount of currently allocated memory (subtracting drift) More... | |
bool | printMemUsage (const char *justCompletedFncName) |
print the current amount of allocated memory More... | |
bool | printPeakMemUsage () |
print the peak over all calls of rawMemUsage(), but relative to the drift More... | |
Definition in file memdebug.hh.
bool currentMemUsage | ( | ssize_t * | pDst) |
provide relative amount of currently allocated memory (subtracting drift)
bool initMemDrift | ( | ) |
initialize memory debugging, taking the current memory state as state zero
bool printMemUsage | ( | const char * | justCompletedFncName) |
print the current amount of allocated memory
bool printPeakMemUsage | ( | ) |
print the peak over all calls of rawMemUsage(), but relative to the drift
bool rawMemUsage | ( | ssize_t * | pDst) |
provide the raw amount of currently allocated memory (as glibc reports it)