Home | History | Annotate | Download | only in utils

Lines Matching defs:total_mem

65 static size_t total_mem = 0;
77 fprintf(stderr, "total_mem: %u\n", (uint32_t)total_mem);
78 fprintf(stderr, "total_mem allocated: %u\n", (uint32_t)total_mem_allocated);
121 total_mem += size;
126 num_malloc_calls + num_calloc_calls, (uint32_t)total_mem);
128 fprintf(stderr, "Mem: %u (+%u)\n", (uint32_t)total_mem, (uint32_t)size);
131 if (total_mem > high_water_mark) high_water_mark = total_mem;
147 total_mem -= block->size_;
150 (uint32_t)total_mem, (uint32_t)block->size_);
175 if (mem_limit > 0 && total_mem + total_size >= mem_limit) {