クラス テンプレート PageHeapAllocator< T >

すべてのメンバ一覧

Public メソッド

void Init ()
T * New ()
void Delete (T *p)
int inuse () const
void Init ()
T * New ()
void Delete (T *p)
int inuse () const

Private 変数

char * free_area_
size_t free_avail_
void * free_list_
int inuse_

Static Private 変数

static const int kAllocIncrement = 128 << 10
static const size_t kAlignedSize = (((sizeof(T) + kAlignment - 1) / kAlignment) * kAlignment)


説明

template<class T>
class PageHeapAllocator< T >

tcmalloc-0.8/tcmalloc.cc435 行で定義されています。


関数

template<class T>
void PageHeapAllocator< T >::Init (  )  [inline]

template<class T>
T* PageHeapAllocator< T >::New (  )  [inline]

template<class T>
void PageHeapAllocator< T >::Delete ( T *  p  )  [inline]

template<class T>
int PageHeapAllocator< T >::inuse (  )  const [inline]

tcmalloc-0.8/tcmalloc.cc492 行で定義されています。

参照先 PageHeapAllocator< T >::inuse_.

参照元 DumpStats().

template<class T>
void PageHeapAllocator< T >::Init (  )  [inline]

template<class T>
T* PageHeapAllocator< T >::New (  )  [inline]

template<class T>
void PageHeapAllocator< T >::Delete ( T *  p  )  [inline]

template<class T>
int PageHeapAllocator< T >::inuse (  )  const [inline]

tcmalloc-0.93/tcmalloc.cc614 行で定義されています。

参照先 PageHeapAllocator< T >::inuse_.


変数

template<class T>
static const int PageHeapAllocator< T >::kAllocIncrement = 128 << 10 [static, private]

tcmalloc-0.8/tcmalloc.cc438 行で定義されています。

参照元 PageHeapAllocator< T >::Init(), と PageHeapAllocator< T >::New().

template<class T>
static const size_t PageHeapAllocator< T >::kAlignedSize = (((sizeof(T) + kAlignment - 1) / kAlignment) * kAlignment) [static, private]

tcmalloc-0.8/tcmalloc.cc442 行で定義されています。

参照元 PageHeapAllocator< T >::Init(), と PageHeapAllocator< T >::New().

template<class T>
char * PageHeapAllocator< T >::free_area_ [private]

tcmalloc-0.8/tcmalloc.cc445 行で定義されています。

参照元 PageHeapAllocator< T >::Init(), と PageHeapAllocator< T >::New().

template<class T>
size_t PageHeapAllocator< T >::free_avail_ [private]

tcmalloc-0.8/tcmalloc.cc446 行で定義されています。

参照元 PageHeapAllocator< T >::Init(), と PageHeapAllocator< T >::New().

template<class T>
void * PageHeapAllocator< T >::free_list_ [private]

template<class T>
int PageHeapAllocator< T >::inuse_ [private]


このクラスの説明は次のファイルから生成されました:

Thu Oct 8 05:01:14 2009に生成されました。  doxygen 1.5.6