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

Unified Diff: tracing/tracing/extras/importer/trace_event_importer.html

Issue 3012213002: tracing: Add private footprint (Closed)
Patch Set: Created 3 years, 3 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
« no previous file with comments | « no previous file | tracing/tracing/metrics/system_health/memory_metric.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/extras/importer/trace_event_importer.html
diff --git a/tracing/tracing/extras/importer/trace_event_importer.html b/tracing/tracing/extras/importer/trace_event_importer.html
index 02bcf0b35f630ba1a7badf71872dae2235f5ce56..cc32d50476b04d6fa4596267378782cdee816c00 100644
--- a/tracing/tracing/extras/importer/trace_event_importer.html
+++ b/tracing/tracing/extras/importer/trace_event_importer.html
@@ -2777,6 +2777,12 @@ tr.exportTo('tr.e.importer', function() {
continue;
}
+ // Private footprint
+ if (rawTotalName === 'private_footprint_bytes') {
+ totals.privateFootprintBytes = parseInt(rawTotalValue, 16);
+ continue;
+ }
+
// OS-specific totals (e.g. private resident on Mac).
if (platformSpecificTotals === undefined) {
platformSpecificTotals = {};
« no previous file with comments | « no previous file | tracing/tracing/metrics/system_health/memory_metric.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698