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