Main Page Modules Class Hierarchy Data Structures File List Data Fields Globals Related Pages

# MM_Stats_t Struct Reference
[OSCL Memory]

`#include <oscl_mem_audit.h>`

## Public Methods
| MM_Stats_t ()
| MM_Stats_t (uint32 sizeIn)
void | reset ()
void | update (const MM_Stats_t &delta, bool add)
void * | operator new (oscl_memsize_t size)
void * | operator new (oscl_memsize_t size, MM_Stats_t *ptr)
void | operator delete (void *ptr) throw ()
## Data Fields
uint32 | numBytes
uint32 | peakNumBytes
uint32 | numAllocs
uint32 | peakNumAllocs
uint32 | numAllocFails
uint32 | totalNumAllocs
uint32 | totalNumBytes

## Constructor & Destructor Documentation

MM_Stats_t::MM_Stats_t | ( |  | ) | `[inline]`

MM_Stats_t::MM_Stats_t | ( | uint32 | sizeIn | ) | `[inline]`

## Member Function Documentation

void MM_Stats_t::operator delete | ( | void * | ptr | ) | throw ()`[inline]`

void* MM_Stats_t::operator new | ( | oscl_memsize_t | size,
|  | MM_Stats_t * | ptr
| ) | `[inline]`

void* MM_Stats_t::operator new | ( | oscl_memsize_t | size | ) | `[inline]`

void MM_Stats_t::reset | ( |  | ) | `[inline]`

void MM_Stats_t::update | ( | const MM_Stats_t & | delta,
|  | bool | add
| ) | `[inline]`

## Field Documentation

uint32 MM_Stats_t::numAllocFails

uint32 MM_Stats_t::numAllocs

uint32 MM_Stats_t::numBytes

uint32 MM_Stats_t::peakNumAllocs

uint32 MM_Stats_t::peakNumBytes

uint32 MM_Stats_t::totalNumAllocs

uint32 MM_Stats_t::totalNumBytes

The documentation for this struct was generated from the following file:

- oscl_mem_audit.h