Lines Matching refs:tracemalloc_traced_memory
105 static size_t tracemalloc_traced_memory = 0; variable
511 assert(tracemalloc_traced_memory >= trace->size); in tracemalloc_remove_trace()
512 tracemalloc_traced_memory -= trace->size; in tracemalloc_remove_trace()
547 assert(tracemalloc_traced_memory >= trace->size); in tracemalloc_add_trace()
548 tracemalloc_traced_memory -= trace->size; in tracemalloc_add_trace()
568 assert(tracemalloc_traced_memory <= SIZE_MAX - size); in tracemalloc_add_trace()
569 tracemalloc_traced_memory += size; in tracemalloc_add_trace()
570 if (tracemalloc_traced_memory > tracemalloc_peak_traced_memory) { in tracemalloc_add_trace()
571 tracemalloc_peak_traced_memory = tracemalloc_traced_memory; in tracemalloc_add_trace()
845 tracemalloc_traced_memory = 0; in tracemalloc_clear_traces()
1635 size = tracemalloc_traced_memory; in _tracemalloc_get_traced_memory_impl()
1660 tracemalloc_peak_traced_memory = tracemalloc_traced_memory; in _tracemalloc_reset_peak_impl()