Public Member Functions

KMemoryUsageCounter Class Reference

Search for all occurrences

Detailed Description

Simple Memory Usage Counter.

Definition at line 98 of file kmemory.h.

#include <kmemory.h>

Inheritance diagram for KMemoryUsageCounter:
Inheritance graph
[legend]

List of all members.

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.

{ return 0; }
kInt64 GetMallocCount ( ) [inline]

Definition at line 117 of file kmemory.h.

{ return 0; }
kInt64 GetReallocCount ( ) [inline]

Definition at line 118 of file kmemory.h.

{ return 0; }
kInt64 GetFreeCount ( ) [inline]

Definition at line 119 of file kmemory.h.

{ return 0; }
kInt64 GetMallocMemoryUsage ( ) [inline]

Definition at line 120 of file kmemory.h.

{ return 0; }
kInt64 GetReallocMemoryUsage ( ) [inline]

Definition at line 121 of file kmemory.h.

{ return 0; }
kInt64 GetFreeMemoryUsage ( ) [inline]

Definition at line 122 of file kmemory.h.

{ return 0; }
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 )

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

KMemoryUsageCounter KMemoryUsageCounter KMemoryUsageCounter KMemoryUsageCounter KMemoryUsageCounter KMemoryUsageCounter KMemoryUsageCounter KMemoryUsageCounter KMemoryUsageCounter KMemoryUsageCounter
KMemoryUsageCounter KMemoryUsageCounter KMemoryUsageCounter KMemoryUsageCounter KMemoryUsageCounter KMemoryUsageCounter KMemoryUsageCounter KMemoryUsageCounter KMemoryUsageCounter KMemoryUsageCounter