OLD | NEW |
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 Loading... |
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 |
OLD | NEW |