Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4611)

Unified Diff: base/trace_event/heap_profiler_heap_dump_writer.h

Issue 1911643002: Add configurable limit to allocations in heap profiler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing comments Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/trace_event/heap_profiler_heap_dump_writer.h
diff --git a/base/trace_event/heap_profiler_heap_dump_writer.h b/base/trace_event/heap_profiler_heap_dump_writer.h
index 88fb86f523ba0275afbf4839bde3dc46e64581b2..c18b1933bc5e7e84be43143b429c51438eec362d 100644
--- a/base/trace_event/heap_profiler_heap_dump_writer.h
+++ b/base/trace_event/heap_profiler_heap_dump_writer.h
@@ -97,6 +97,10 @@ class BASE_EXPORT HeapDumpWriter {
// dump writer instance.
TypeNameDeduplicator* const type_name_deduplicator_;
+ // Minimum size of an allocation for which an allocation bucket will be
+ // broken down with children.
+ size_t min_allocation_size_bytes_;
Primiano Tucci (use gerrit) 2016/04/21 16:53:22 breakdown_threshold_bytes_? (to match the name of
+
DISALLOW_COPY_AND_ASSIGN(HeapDumpWriter);
};
« no previous file with comments | « no previous file | base/trace_event/heap_profiler_heap_dump_writer.cc » ('j') | base/trace_event/heap_profiler_heap_dump_writer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698