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

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

Issue 1319013002: Android event log importer. (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: Removed console.log Created 5 years, 4 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 | « tracing/tracing/model/activity.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/model/process.html
diff --git a/tracing/tracing/model/process.html b/tracing/tracing/model/process.html
index c495cb5a29661c34e00472738523e5551bab3d19..59fc82f1acad2d3217eb14c7b465798ee4b67ea4 100644
--- a/tracing/tracing/model/process.html
+++ b/tracing/tracing/model/process.html
@@ -37,6 +37,7 @@ tr.exportTo('tr.model', function() {
this.instantEvents = [];
this.memoryDumps = [];
this.frames = [];
+ this.activities = [];
};
/**
@@ -134,6 +135,9 @@ tr.exportTo('tr.model', function() {
for (var i = 0; i < this.memoryDumps.length; i++)
this.memoryDumps[i].shiftTimestampsForward(amount);
+ for (var i = 0; i < this.activities.length; i++)
+ this.activities[i].shiftTimestampsForward(amount);
+
tr.model.ProcessBase.prototype
.shiftTimestampsForward.apply(this, arguments);
},
@@ -146,6 +150,9 @@ tr.exportTo('tr.model', function() {
for (var i = 0; i < this.memoryDumps.length; i++)
this.memoryDumps[i].addBoundsToRange(this.bounds);
+
+ for (var i = 0; i < this.activities.length; i++)
+ this.activities[i].addBoundsToRange(this.bounds);
},
sortMemoryDumps: function() {
« no previous file with comments | « tracing/tracing/model/activity.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698