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 import 'dart:_internal'; | |
6 | |
7 @patch bool _isDartStreamEnabled() native "Timeline_isDartStreamEnabled"; | 5 @patch bool _isDartStreamEnabled() native "Timeline_isDartStreamEnabled"; |
8 | 6 |
9 @patch int _getTraceClock() native "Timeline_getTraceClock"; | 7 @patch int _getTraceClock() native "Timeline_getTraceClock"; |
10 | 8 |
11 @patch int _getThreadCpuClock() native "Timeline_getThreadCpuClock"; | 9 @patch int _getThreadCpuClock() native "Timeline_getThreadCpuClock"; |
12 | 10 |
13 @patch int _getNextAsyncId() native "Timeline_getNextAsyncId"; | 11 @patch int _getNextAsyncId() native "Timeline_getNextAsyncId"; |
14 | 12 |
15 @patch int _getIsolateNum() native "Timeline_getIsolateNum"; | 13 @patch int _getIsolateNum() native "Timeline_getIsolateNum"; |
16 | 14 |
(...skipping 10 matching lines...) Expand all Loading... |
27 int end, | 25 int end, |
28 String category, | 26 String category, |
29 String name, | 27 String name, |
30 String argumentsAsJson) native "Timeline_reportCompleteEvent"; | 28 String argumentsAsJson) native "Timeline_reportCompleteEvent"; |
31 | 29 |
32 @patch void _reportInstantEvent( | 30 @patch void _reportInstantEvent( |
33 int start, | 31 int start, |
34 String category, | 32 String category, |
35 String name, | 33 String name, |
36 String argumentsAsJson) native "Timeline_reportInstantEvent"; | 34 String argumentsAsJson) native "Timeline_reportInstantEvent"; |
OLD | NEW |