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