Go to the source code of this file.
|
| typedef long long int | ll_t |
| |
|
| int | get_thread_id_ (void) |
| |
| int | get_proc_id_ (void) |
| |
| int | get_max_threads_ (void) |
| |
| ll_t | getstk_ () |
| |
| ll_t | gethwm_ () |
| |
| void | xl__trbk_ () |
| |
| void | necsx_trbk_ (const char *msg, int msglen) |
| |
| void | necsx_trbk_fl_ (const char *msg, const char *filename, int *lineno, int msglen, int filenamelen) |
| |
| static void | Check_curalloc () |
| |
| static void | Profile_heap_init () |
| |
| static void | Profile_heap_put (ll_t size, int is_malloc) |
| |
| static void | Profile_heap_put_thrd (ll_t size, int is_malloc, int it) |
| |
| void | profile_heap_get (ll_t val[], const int *Nval, const int *Icase, int *nret) |
| |
| void | EC_free (void *vptr) |
| |
| void * | EC_malloc (ll_t size) |
| |
| void * | EC_calloc (ll_t nelem, ll_t elsize) |
| |
| void * | EC_realloc (void *vptr, ll_t size) |
| |
| char * | EC_strdup (const char *s) |
| |
| ll_t | getcurheap () |
| |
| ll_t | getcurheap_thread (const int *thread_id) |
| |
| ll_t | getmaxcurheap () |
| |
| ll_t | getmaxcurheap_thread (const int *thread_id) |
| |
| ll_t | getmaxloc () |
| |
| void | resetmaxloc () |
| |
| void | setheapcheck_ () |
| |
◆ ll_t
| typedef long long int ll_t |
◆ Check_curalloc()
| static void Check_curalloc |
( |
| ) |
|
|
static |
◆ EC_calloc()
| void* EC_calloc |
( |
ll_t |
nelem, |
|
|
ll_t |
elsize |
|
) |
| |
◆ EC_free()
| void EC_free |
( |
void * |
vptr | ) |
|
◆ EC_malloc()
| void* EC_malloc |
( |
ll_t |
size | ) |
|
◆ EC_realloc()
| void* EC_realloc |
( |
void * |
vptr, |
|
|
ll_t |
size |
|
) |
| |
◆ EC_strdup()
| char* EC_strdup |
( |
const char * |
s | ) |
|
◆ get_max_threads_()
| int get_max_threads_ |
( |
void |
| ) |
|
◆ get_proc_id_()
| int get_proc_id_ |
( |
void |
| ) |
|
◆ get_thread_id_()
| int get_thread_id_ |
( |
void |
| ) |
|
◆ getcurheap()
◆ getcurheap_thread()
| ll_t getcurheap_thread |
( |
const int * |
thread_id | ) |
|
◆ gethwm_()
◆ getmaxcurheap()
◆ getmaxcurheap_thread()
| ll_t getmaxcurheap_thread |
( |
const int * |
thread_id | ) |
|
◆ getmaxloc()
◆ getstk_()
◆ necsx_trbk_()
| void necsx_trbk_ |
( |
const char * |
msg, |
|
|
int |
msglen |
|
) |
| |
◆ necsx_trbk_fl_()
| void necsx_trbk_fl_ |
( |
const char * |
msg, |
|
|
const char * |
filename, |
|
|
int * |
lineno, |
|
|
int |
msglen, |
|
|
int |
filenamelen |
|
) |
| |
◆ profile_heap_get()
| void profile_heap_get |
( |
ll_t |
val[], |
|
|
const int * |
Nval, |
|
|
const int * |
Icase, |
|
|
int * |
nret |
|
) |
| |
◆ Profile_heap_init()
| static void Profile_heap_init |
( |
| ) |
|
|
static |
◆ Profile_heap_put()
| static void Profile_heap_put |
( |
ll_t |
size, |
|
|
int |
is_malloc |
|
) |
| |
|
static |
◆ Profile_heap_put_thrd()
| static void Profile_heap_put_thrd |
( |
ll_t |
size, |
|
|
int |
is_malloc, |
|
|
int |
it |
|
) |
| |
|
static |
◆ resetmaxloc()
◆ setheapcheck_()
◆ xl__trbk_()
◆ alloc_amount
| ll_t alloc_amount[NPROFILE+1] |
|
static |
◆ alloc_amount_thrd
| ll_t alloc_amount_thrd[NTHRDS][NPROFILE+1] |
|
static |
◆ begloc
◆ clsz_opt
| struct { ... } clsz_opt[NTHRDS] |
◆ curalloc
◆ curalloca
◆ disclaim_threshold
| double disclaim_threshold = 2048 |
|
static |
◆ disclaim_threshold_limit
| ll_t disclaim_threshold_limit = 2147483647 |
|
static |
◆ disclaim_threshold_test
| ll_t disclaim_threshold_test = 0 |
|
static |
◆ drhook_memtrace
◆ EC_malloc_will_abort
| int EC_malloc_will_abort = 1 |
◆ free_error
◆ free_hits
| ll_t free_hits[NPROFILE+1] |
|
static |
◆ free_hits_thrd
| ll_t free_hits_thrd[NTHRDS][NPROFILE+1] |
|
static |
◆ getcurheap_lock
| pthread_mutex_t getcurheap_lock = PTHREAD_MUTEX_INITIALIZER |
◆ heapcheck
◆ malloc_hits
| ll_t malloc_hits[NPROFILE+1] |
|
static |
◆ malloc_hits_thrd
| ll_t malloc_hits_thrd[NTHRDS][NPROFILE+1] |
|
static |
◆ max_free_error
◆ maxcurheap
◆ maxcurheapa
◆ maxloc
◆ nans_fill
◆ pad
| char pad[CACHELINESIZE - 2 *WORDLEN] |
◆ profile_heap