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

Unified Diff: tracing/tracing/model/container_memory_dump.html

Issue 1395583002: Propagate attributes from global to process memory allocator dumps (Closed) Base URL: git@github.com:catapult-project/catapult.git@master
Patch Set: Created 5 years, 2 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: tracing/tracing/model/container_memory_dump.html
diff --git a/tracing/tracing/model/container_memory_dump.html b/tracing/tracing/model/container_memory_dump.html
index 8bfc248f6fbe5c36fd14ff970e895c6fe4dc7251..fe5ad7c097b9d19ca5cf6e877099a67a82c3b733 100644
--- a/tracing/tracing/model/container_memory_dump.html
+++ b/tracing/tracing/model/container_memory_dump.html
@@ -66,6 +66,12 @@ tr.exportTo('tr.model', function() {
}
return this.memoryAllocatorDumpsByFullName_[fullName];
+ },
+
+ iterateRootAllocatorDumps: function(fn, opt_this) {
+ if (this.memoryAllocatorDumps === undefined)
+ return;
+ this.memoryAllocatorDumps.forEach(fn, opt_this || this);
}
};
« no previous file with comments | « tracing/tracing/extras/importer/trace_event_importer_test.html ('k') | tracing/tracing/model/container_memory_dump_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698