| 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 @patch | 5 @patch bool _isDartStreamEnabled() native "Timeline_isDartStreamEnabled"; |
| 6 bool _isDartStreamEnabled() native "Timeline_isDartStreamEnabled"; | |
| 7 | 6 |
| 8 @patch | 7 @patch int _getTraceClock() native "Timeline_getTraceClock"; |
| 9 int _getTraceClock() native "Timeline_getTraceClock"; | |
| 10 | 8 |
| 11 @patch | 9 @patch int _getThreadCpuClock() native "Timeline_getThreadCpuClock"; |
| 12 int _getThreadCpuClock() native "Timeline_getThreadCpuClock"; | |
| 13 | 10 |
| 14 @patch | 11 @patch int _getNextAsyncId() native "Timeline_getNextAsyncId"; |
| 15 int _getNextAsyncId() native "Timeline_getNextAsyncId"; | |
| 16 | 12 |
| 17 @patch | 13 @patch int _getIsolateNum() native "Timeline_getIsolateNum"; |
| 18 int _getIsolateNum() native "Timeline_getIsolateNum"; | |
| 19 | 14 |
| 20 @patch | 15 @patch void _reportTaskEvent( |
| 21 void _reportTaskEvent(int start, int taskId, String phase, String category, | 16 int start, |
| 22 String name, String argumentsAsJson) native "Timeline_reportTaskEvent"; | 17 int taskId, |
| 18 String phase, |
| 19 String category, |
| 20 String name, |
| 21 String argumentsAsJson) native "Timeline_reportTaskEvent"; |
| 23 | 22 |
| 24 @patch | 23 @patch void _reportCompleteEvent( |
| 25 void _reportCompleteEvent(int start, int startCpu, String category, String name, | 24 int start, |
| 26 String argumentsAsJson) native "Timeline_reportCompleteEvent"; | 25 int startCpu, |
| 26 String category, |
| 27 String name, |
| 28 String argumentsAsJson) native "Timeline_reportCompleteEvent"; |
| 27 | 29 |
| 28 @patch | 30 @patch void _reportInstantEvent( |
| 29 void _reportInstantEvent(int start, String category, String name, | 31 int start, |
| 30 String argumentsAsJson) native "Timeline_reportInstantEvent"; | 32 String category, |
| 33 String name, |
| 34 String argumentsAsJson) native "Timeline_reportInstantEvent"; |
| OLD | NEW |