#include </builds/gaudi/Gaudi/GaudiProfiling/src/component/IgHook_IgHookTrace.h>
Definition at line 26 of file IgHook_IgHookTrace.h.
◆ IgHookTraceAlloc()
IgHookTraceAlloc::IgHookTraceAlloc |
( |
void |
| ) |
|
◆ allocate()
void * IgHookTraceAlloc::allocate |
( |
size_t |
bytes | ) |
|
Definition at line 111 of file IgHook_IgHookTrace.cpp.
120 size_t psize = getpagesize();
121 size_t hunk = psize * 20;
122 if ( hunk < bytes ) hunk = ( hunk + psize - 1 ) & ~( psize - 1 );
123 void* addr = mmap( 0, hunk, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0 );
124 if ( addr == MAP_FAILED )
return 0;
◆ m_left
size_t IgHookTraceAlloc::m_left |
|
private |
◆ m_pool
void* IgHookTraceAlloc::m_pool |
|
private |
The documentation for this class was generated from the following files: