|
Geant4_10
|
#include <iostream>#include <stdio.h>#include <time.h>#include "tls.hh"#include "tpmalloc/mymalloc.h"
Go to the source code of this file.
Macros | |
| #define | HJMALLOCDEBUG 0 |
| #define | HJMALLOCPROFILE 0 |
| #define | TLMSSIZE 256 |
Functions | |
| void | turnontpmalloc () |
| void | turnofftpmalloc () |
| int | tpmallocflag () |
| void * | malloc (size_t __size) |
| void * | calloc (size_t __nmemb, size_t __size) |
| void * | realloc (void *__ptr, size_t __size) |
| void | free (void *__ptr) |
| void | cfree (void *__ptr) |
| void * | valloc (size_t __size) |
Variables | |
| G4ThreadLocal int | mallocswitch = 0 |
| G4ThreadLocal mspace | tlms = 0 |
| G4ThreadLocal long int | alloccount = 0 |
| G4ThreadLocal long int | freecount = 0 |
| G4ThreadLocal double | alloctime = 0.0 |
| G4ThreadLocal double | freetime = 0.0 |
| #define HJMALLOCDEBUG 0 |
Definition at line 17 of file hjmalloc.cc.
| #define HJMALLOCPROFILE 0 |
Definition at line 18 of file hjmalloc.cc.
| #define TLMSSIZE 256 |
Definition at line 21 of file hjmalloc.cc.
| void* calloc | ( | size_t | __nmemb, |
| size_t | __size | ||
| ) |
Definition at line 67 of file hjmalloc.cc.


Definition at line 140 of file hjmalloc.cc.


| void* malloc | ( | size_t | __size | ) |
Definition at line 30 of file hjmalloc.cc.


Definition at line 103 of file hjmalloc.cc.


| int tpmallocflag | ( | ) |
Definition at line 28 of file hjmalloc.cc.
| void turnofftpmalloc | ( | ) |
Definition at line 27 of file hjmalloc.cc.
| void turnontpmalloc | ( | ) |
Definition at line 26 of file hjmalloc.cc.
| void* valloc | ( | size_t | __size | ) |
| G4ThreadLocal long int alloccount = 0 |
Definition at line 11 of file hjmalloc.cc.
| G4ThreadLocal double alloctime = 0.0 |
Definition at line 14 of file hjmalloc.cc.
| G4ThreadLocal long int freecount = 0 |
Definition at line 12 of file hjmalloc.cc.
| G4ThreadLocal double freetime = 0.0 |
Definition at line 15 of file hjmalloc.cc.
| G4ThreadLocal int mallocswitch = 0 |
Definition at line 8 of file hjmalloc.cc.
| G4ThreadLocal mspace tlms = 0 |
Definition at line 9 of file hjmalloc.cc.
1.8.5