Home
last modified time | relevance | path

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

/external/perfetto/src/profiling/memory/
Dbookkeeping.h309 : total_size(size), sequence_number(seq), callstack_allocations(csa) { in Allocation()
310 callstack_allocations->allocs++; in Allocation()
318 callstack_allocations = other.callstack_allocations; in Allocation()
319 other.callstack_allocations = nullptr; in Allocation()
323 callstack_allocations->allocation_count++; in AddToCallstackAllocations()
324 callstack_allocations->allocated += total_size; in AddToCallstackAllocations()
328 callstack_allocations->free_count++; in SubtractFromCallstackAllocations()
329 callstack_allocations->freed += total_size; in SubtractFromCallstackAllocations()
333 if (callstack_allocations) in ~Allocation()
334 callstack_allocations->allocs--; in ~Allocation()
[all …]
Dbookkeeping.cc75 alloc.callstack_allocations = MaybeCreateCallstackAllocations(node); in RecordMalloc()