Home | History | Annotate | Download | only in utils

Lines Matching refs:total_mem

67 static size_t total_mem = 0;
79 fprintf(stderr, "total_mem: %u\n", (uint32_t)total_mem);
80 fprintf(stderr, "total_mem allocated: %u\n", (uint32_t)total_mem_allocated);
123 total_mem += size;
128 num_malloc_calls + num_calloc_calls, (uint32_t)total_mem);
130 fprintf(stderr, "Mem: %u (+%u)\n", (uint32_t)total_mem, (uint32_t)size);
133 if (total_mem > high_water_mark) high_water_mark = total_mem;
149 total_mem -= block->size_;
152 (uint32_t)total_mem, (uint32_t)block->size_);
177 if (mem_limit > 0 && total_mem + total_size >= mem_limit) {