Searched refs:Malloctotal (Results 1 – 2 of 2) sorted by relevance
36 static struct stats *Malloctotal; variable42 Malloctotal = stats_new_counter("alloc.total", "bytes allocated", 1); in alloc_init()51 mt = Malloctotal; in alloc_fini()54 Malloctotal = NULL; in alloc_fini()75 if (Malloctotal) in alloc_malloc()76 stats_counter_add(Malloctotal, nbytes); in alloc_malloc()140 if (Malloctotal) in alloc_xmalloc()141 stats_counter_add(Malloctotal, nbytes); in alloc_xmalloc()
44 static struct stats *Malloctotal; variable54 Malloctotal = stats_new_counter("alloc.total", "bytes allocated", 1); in alloc_init()65 mt = Malloctotal; in alloc_fini()70 Malloctotal = NULL; in alloc_fini()101 if (Malloctotal) in alloc_malloc()102 stats_counter_add(Malloctotal, nbytes); in alloc_malloc()194 if (Malloctotal) in alloc_xmalloc()195 stats_counter_add(Malloctotal, nbytes); in alloc_xmalloc()