Home
last modified time | relevance | path

Searched refs:heap_stats_ (Results 1 – 2 of 2) sorted by relevance

/external/pigweed/pw_allocator/
Dfreelist_heap.cc25 : freelist_(freelist), heap_stats_() { in FreeListHeap()
34 heap_stats_.total_bytes = region.size(); in FreeListHeap()
60 heap_stats_.bytes_allocated += size; in Allocate()
61 heap_stats_.cumulative_allocated += size; in Allocate()
62 heap_stats_.total_allocate_calls += 1; in Allocate()
109 heap_stats_.bytes_allocated -= size_freed; in Free()
110 heap_stats_.cumulative_freed += size_freed; in Free()
111 heap_stats_.total_free_calls += 1; in Free()
170 static_cast<unsigned int>(heap_stats_.total_bytes)); in LogHeapStats()
172 static_cast<unsigned int>(heap_stats_.bytes_allocated)); in LogHeapStats()
[all …]
/external/pigweed/pw_allocator/public/pw_allocator/
Dfreelist_heap.h55 HeapStats heap_stats_; variable
73 return heap_.heap_stats_; in heap_stats()