Loading [MathJax]/extensions/tex2jax.js
Logo ROOT  
Reference Guide
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
TMemStatHook Class Reference

Definition at line 29 of file TMemStatHook.h.

Public Types

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

Static Public Member Functions

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

#include <TMemStatHook.h>

Member Typedef Documentation

◆ FreeHookFunc_t

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

Definition at line 36 of file TMemStatHook.h.

◆ MallocHookFunc_t

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

Definition at line 35 of file TMemStatHook.h.

Member Function Documentation

◆ GetFreeHook()

TMemStatHook::FreeHookFunc_t TMemStatHook::GetFreeHook ( )
static

GetFreeHook - a static function free function getter.

Definition at line 61 of file TMemStatHook.cxx.

◆ GetMallocHook()

TMemStatHook::MallocHookFunc_t TMemStatHook::GetMallocHook ( )
static

GetMallocHook - a static function malloc function getter.

Definition at line 48 of file TMemStatHook.cxx.

◆ SetFreeHook()

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.

◆ SetMallocHook()

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.


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