KMemoryUsageCounter Class Reference

#include <kmemory.h>
Inheritance diagram for KMemoryUsageCounter:
Inheritance graph
[legend]

List of all members.


Detailed Description

Simple Memory Usage Counter.

Definition at line 98 of file kmemory.h.


Public Member Functions

  KMemoryUsageCounter ()
  ~KMemoryUsageCounter ()
kInt64  GetMemoryUsage ()
kInt64  GetMallocCount ()
kInt64  GetReallocCount ()
kInt64  GetFreeCount ()
kInt64  GetMallocMemoryUsage ()
kInt64  GetReallocMemoryUsage ()
kInt64  GetFreeMemoryUsage ()
void  CounterFree (void *)
void  CounterMalloc (size_t)
void  CounterRealloc (void *, size_t)
KMemoryUsageCounter  operator+ (KMemoryUsageCounter &pSrc)
KMemoryUsageCounter  operator- (KMemoryUsageCounter &pSrc)

Constructor & Destructor Documentation


Member Function Documentation

kInt64 GetMemoryUsage (  )  [inline]

Definition at line 116 of file kmemory.h.

kInt64 GetMallocCount (  )  [inline]

Definition at line 117 of file kmemory.h.

kInt64 GetReallocCount (  )  [inline]

Definition at line 118 of file kmemory.h.

kInt64 GetFreeCount (  )  [inline]

Definition at line 119 of file kmemory.h.

kInt64 GetMallocMemoryUsage (  )  [inline]

Definition at line 120 of file kmemory.h.

kInt64 GetReallocMemoryUsage (  )  [inline]

Definition at line 121 of file kmemory.h.

kInt64 GetFreeMemoryUsage (  )  [inline]

Definition at line 122 of file kmemory.h.

void CounterFree ( void *   )  [inline]

Definition at line 124 of file kmemory.h.

void CounterMalloc ( size_t   )  [inline]

Definition at line 125 of file kmemory.h.

void CounterRealloc ( void *  ,
size_t   
) [inline]

Definition at line 126 of file kmemory.h.

KMemoryUsageCounter operator+ ( KMemoryUsageCounter pSrc  ) 

KMemoryUsageCounter operator- ( KMemoryUsageCounter pSrc  ) 
KMemoryUsageCounter KMemoryUsageCounter KMemoryUsageCounter KMemoryUsageCounter KMemoryUsageCounter KMemoryUsageCounter KMemoryUsageCounter KMemoryUsageCounter KMemoryUsageCounter KMemoryUsageCounter
KMemoryUsageCounter KMemoryUsageCounter KMemoryUsageCounter KMemoryUsageCounter KMemoryUsageCounter KMemoryUsageCounter KMemoryUsageCounter KMemoryUsageCounter KMemoryUsageCounter KMemoryUsageCounter