ROOT  6.06/09
Reference Guide
Public Types | Static Public Member Functions | List of all members
TMemStatHook Class Reference

Definition at line 29 of file TMemStatHook.h.

Public Types

typedef void *(* MallocHookFunc_t) (size_t size, const void *caller)
 
typedef void(* FreeHookFunc_t) (void *ptr, const void *caller)
 

Static Public Member Functions

static MallocHookFunc_t GetMallocHook ()
 GetMallocHook - a static function malloc function getter. More...
 
static FreeHookFunc_t GetFreeHook ()
 GetFreeHook - a static function free function getter. More...
 
static void SetMallocHook (MallocHookFunc_t p)
 SetMallocHook - a static function Set pointer to function replacing alloc function. More...
 
static void SetFreeHook (FreeHookFunc_t p)
 SetFreeHook - a static function Set pointer to function replacing free function. More...
 

#include <TMemStatHook.h>

Member Typedef Documentation

typedef void(* TMemStatHook::FreeHookFunc_t) (void *ptr, const void *caller)

Definition at line 36 of file TMemStatHook.h.

typedef void*(* TMemStatHook::MallocHookFunc_t) (size_t size, const void *caller)

Definition at line 35 of file TMemStatHook.h.

Member Function Documentation

TMemStatHook::FreeHookFunc_t TMemStatHook::GetFreeHook ( )
static

GetFreeHook - a static function free function getter.

Definition at line 61 of file TMemStatHook.cxx.

TMemStatHook::MallocHookFunc_t TMemStatHook::GetMallocHook ( )
static

GetMallocHook - a static function malloc function getter.

Definition at line 48 of file TMemStatHook.cxx.

void TMemStatHook::SetFreeHook ( FreeHookFunc_t  p)
static

SetFreeHook - a static function Set pointer to function replacing free function.

Definition at line 85 of file TMemStatHook.cxx.

Referenced by Memstat::TMemStatMng::Disable(), and Memstat::TMemStatMng::Enable().

void TMemStatHook::SetMallocHook ( MallocHookFunc_t  p)
static

SetMallocHook - a static function Set pointer to function replacing alloc function.

Definition at line 74 of file TMemStatHook.cxx.

Referenced by Memstat::TMemStatMng::Disable(), and Memstat::TMemStatMng::Enable().


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