/external/libchrome/base/trace_event/ |
heap_profiler_heap_dump_writer.cc | 54 metrics_by_context; member in struct:base::trace_event::internal::__anon22724::Bucket 56 // The sum of the sizes of |metrics_by_context|. 59 // The sum of number of allocations of |metrics_by_context|. 85 for (const auto& context_and_metrics : bucket.metrics_by_context) { 97 subbucket.metrics_by_context.push_back(context_and_metrics); 107 for (const auto& context_and_metrics : bucket.metrics_by_context) { 112 subbucket.metrics_by_context.push_back(context_and_metrics); 196 DCHECK(!bucket.metrics_by_context.empty()); 198 const AllocationContext* context = bucket.metrics_by_context.front().first; 244 const hash_map<AllocationContext, AllocationMetrics>& metrics_by_context) { [all...] |
malloc_dump_provider.cc | 182 hash_map<AllocationContext, AllocationMetrics> metrics_by_context; local 188 AllocationMetrics& metrics = metrics_by_context[alloc_size.context]; 196 pmd->DumpHeapUsage(metrics_by_context, overhead, "malloc");
|
process_memory_dump_unittest.cc | 93 hash_map<AllocationContext, AllocationMetrics> metrics_by_context; local 94 metrics_by_context[AllocationContext()] = { 1, 1 }; 108 pmd1->DumpHeapUsage(metrics_by_context, overhead, "pmd1/heap_dump1"); 109 pmd1->DumpHeapUsage(metrics_by_context, overhead, "pmd1/heap_dump2"); 116 pmd2->DumpHeapUsage(metrics_by_context, overhead, "pmd2/heap_dump1"); 117 pmd2->DumpHeapUsage(metrics_by_context, overhead, "pmd2/heap_dump2");
|