library of assembled shared sources

http://lass.cocamware.com

lass::util::AllocatorStats< Allocator > Class Template Reference
[Allocator]

#include <allocator.h>

Inheritance diagram for lass::util::AllocatorStats< Allocator >:

Inheritance graph
[legend]
Collaboration diagram for lass::util::AllocatorStats< Allocator >:

Collaboration graph
[legend]

Data Structures

struct  Stat

Public Member Functions

 AllocatorStats ()
 AllocatorStats (size_t size)
 ~AllocatorStats ()
void * allocate (size_t size)
void * allocate ()
void deallocate (void *mem, size_t size)
void deallocate (void *mem)

Private Types

typedef std::map< size_t, StatTStats

Private Attributes

TStats stats_

Detailed Description

template<typename Allocator>
class lass::util::AllocatorStats< Allocator >

Warning:
THREAD UNSAFE!

Definition at line 720 of file allocator.h.


Member Typedef Documentation

template<typename Allocator >
typedef std::map<size_t, Stat> lass::util::AllocatorStats< Allocator >::TStats [private]

Definition at line 772 of file allocator.h.


Constructor & Destructor Documentation

template<typename Allocator >
lass::util::AllocatorStats< Allocator >::AllocatorStats (  )  [inline]

Definition at line 723 of file allocator.h.

template<typename Allocator >
lass::util::AllocatorStats< Allocator >::AllocatorStats ( size_t  size  )  [inline]

Definition at line 727 of file allocator.h.

template<typename Allocator >
lass::util::AllocatorStats< Allocator >::~AllocatorStats (  )  [inline]


Member Function Documentation

template<typename Allocator >
void* lass::util::AllocatorStats< Allocator >::allocate ( size_t  size  )  [inline]

Definition at line 746 of file allocator.h.

template<typename Allocator >
void* lass::util::AllocatorStats< Allocator >::allocate (  )  [inline]

Definition at line 751 of file allocator.h.

template<typename Allocator >
void lass::util::AllocatorStats< Allocator >::deallocate ( void *  mem,
size_t  size 
) [inline]

Definition at line 756 of file allocator.h.

template<typename Allocator >
void lass::util::AllocatorStats< Allocator >::deallocate ( void *  mem  )  [inline]

Definition at line 761 of file allocator.h.


Field Documentation

template<typename Allocator >
TStats lass::util::AllocatorStats< Allocator >::stats_ [private]

Definition at line 773 of file allocator.h.


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

Generated on Mon Nov 10 14:22:16 2008 for Library of Assembled Shared Sources by doxygen 1.5.7.1
SourceForge.net Logo