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

Unified Diff: runtime/vm/timeline.cc

Issue 1403273002: Hookup --complete-timeline flag (Closed) Base URL: git@github.com:dart-lang/sdk.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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/timeline.cc
diff --git a/runtime/vm/timeline.cc b/runtime/vm/timeline.cc
index a114c1a35359f786d372cb1c0ea673975043b75b..d9b09573e3e4a26ada188fbc38da314d3b989593 100644
--- a/runtime/vm/timeline.cc
+++ b/runtime/vm/timeline.cc
@@ -90,7 +90,7 @@ void Timeline::InitOnce() {
const bool use_ring_recorder = true;
// Some flags require that we use the endless recorder.
const bool use_endless_recorder =
- (FLAG_timeline_dir != NULL) || FLAG_timing;
+ (FLAG_timeline_dir != NULL) || FLAG_timing || FLAG_complete_timeline;
if (use_endless_recorder) {
recorder_ = new TimelineEventEndlessRecorder();
} else if (use_ring_recorder) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698