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

Side by Side Diff: runtime/vm/timeline_analysis.cc

Issue 2715463003: Add option to gen_snapshot for creating a Makefile describing a snapshot's dependencies. (Closed)
Patch Set: . Created 3 years, 9 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 unified diff | Download patch
« no previous file with comments | « runtime/vm/log.cc ('k') | runtime/vm/visitor.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/timeline_analysis.h" 5 #include "vm/timeline_analysis.h"
6 6
7 #include "vm/flags.h" 7 #include "vm/flags.h"
8 #include "vm/isolate.h"
8 #include "vm/log.h" 9 #include "vm/log.h"
9 #include "vm/os_thread.h" 10 #include "vm/os_thread.h"
10 11
11 namespace dart { 12 namespace dart {
12 13
13 #ifndef PRODUCT 14 #ifndef PRODUCT
14 15
15 DECLARE_FLAG(bool, trace_timeline_analysis); 16 DECLARE_FLAG(bool, trace_timeline_analysis);
16 DECLARE_FLAG(bool, timing); 17 DECLARE_FLAG(bool, timing);
17 18
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 MicrosecondsToMilliseconds(pause_info->exclusive_micros())); 614 MicrosecondsToMilliseconds(pause_info->exclusive_micros()));
614 THR_Print("%.3f ms max on stack; ", 615 THR_Print("%.3f ms max on stack; ",
615 MicrosecondsToMilliseconds(pause_info->max_inclusive_micros())); 616 MicrosecondsToMilliseconds(pause_info->max_inclusive_micros()));
616 THR_Print("%.3f ms max executing.\n", 617 THR_Print("%.3f ms max executing.\n",
617 MicrosecondsToMilliseconds(pause_info->max_exclusive_micros())); 618 MicrosecondsToMilliseconds(pause_info->max_exclusive_micros()));
618 } 619 }
619 620
620 #endif // !PRODUCT 621 #endif // !PRODUCT
621 622
622 } // namespace dart 623 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/log.cc ('k') | runtime/vm/visitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698