#include <cstdlib>
#include "Alloc.h"
Go to the source code of this file.
void* MyAlloc |
( |
size_t |
size | ) |
|
Definition at line 23 of file Alloc.cc.
References AlCaHLTBitMon_ParallelJobs::p.
Referenced by SzAlloc().
26 #ifdef _SZ_ALLOC_DEBUG
28 void *
p = malloc(
size);
29 fprintf(stderr,
"\nAlloc %10d bytes, count = %10d, addr = %8X",
size, g_allocCount++, (
unsigned)p);
tuple size
Write out results.
void MyFree |
( |
void * |
address | ) |
|
Definition at line 37 of file Alloc.cc.
Referenced by SzFree().
38 #ifdef _SZ_ALLOC_DEBUG
40 fprintf(stderr,
"\nFree; count = %10d, addr = %8X", --g_allocCount, (
unsigned)address);