Chromium Code Reviews| Index: base/trace_event/heap_profiler_allocation_context.h |
| diff --git a/base/trace_event/heap_profiler_allocation_context.h b/base/trace_event/heap_profiler_allocation_context.h |
| index 8544c78eb2cd34c3f7693fa4063ccdcf85f837a1..1b87d8547a2198fa4b687c9f77fcfd2d9df083f2 100644 |
| --- a/base/trace_event/heap_profiler_allocation_context.h |
| +++ b/base/trace_event/heap_profiler_allocation_context.h |
| @@ -45,6 +45,12 @@ struct BASE_EXPORT Backtrace { |
| StackFrame frames[12]; |
| }; |
| +// Struct to store the size and count of the allocations. |
| +struct AllocationsSizeAndCount { |
|
Dmitry Skiba
2016/04/14 19:07:30
You call this 'metrics' everywhere else (metrics_b
Primiano Tucci (use gerrit)
2016/04/14 19:37:21
+1
ssid
2016/04/14 20:17:10
Done.
|
| + size_t size; |
| + size_t count; |
| +}; |
| + |
| bool BASE_EXPORT operator==(const Backtrace& lhs, const Backtrace& rhs); |
| // The |AllocationContext| is context metadata that is kept for every allocation |