malloc_extension.cc

#include "config.h"
#include <assert.h>
#include <string.h>
#include <pthread.h>
#include <stdio.h>
#include <stdint.h>
#include <string>
#include "google/perftools/hash_set.h"
#include "google/malloc_extension.h"
#include "maybe_threads.h"

tcmalloc-0.8/malloc_extension.ccのインクルード依存関係図

ソースコードを見る。

型定義

typedef
HASH_NAMESPACE::hash_set< void
**, StackTraceHash,
StackTraceEqual > 
StackTraceTable

関数

static void InitModule ()
uintptr_t Count (void **entry)
uintptr_t Size (void **entry)
uintptr_t Depth (void **entry)
void * PC (void **entry, int i)
void PrintHeader (string *result, const char *label, void **entries)
void PrintStackEntry (string *result, void **entry)

変数

static pthread_once_t module_init = PTHREAD_ONCE_INIT
static MallocExtensiondefault_instance = NULL
static MallocExtensioncurrent_instance = NULL


型定義

typedef HASH_NAMESPACE::hash_set<void**, StackTraceHash, StackTraceEqual> StackTraceTable [static]

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


関数

uintptr_t @843::Count ( void **  entry  )  [static]

uintptr_t @843::Depth ( void **  entry  )  [static]

static void InitModule (  )  [static]

void* @843::PC ( void **  entry,
int  i 
) [static]

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

参照元 PrintStackEntry().

void @843::PrintHeader ( string *  result,
const char *  label,
void **  entries 
) [static]

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

参照先 Count(), Depth(), と Size().

参照元 MallocExtension::GetHeapGrowthStacks().

void @843::PrintStackEntry ( string *  result,
void **  entry 
) [static]

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

参照先 Count(), Depth(), PC(), と Size().

参照元 MallocExtension::GetHeapGrowthStacks().

uintptr_t @843::Size ( void **  entry  )  [static]

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

参照元 PrintHeader(), と PrintStackEntry().


変数

const size_t bucket_size = 4 [static]

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

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

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

const size_t min_buckets = 8 [static]

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

pthread_once_t module_init = PTHREAD_ONCE_INIT [static]


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