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'; | 5 import 'dart:_internal'; |
6 | 6 |
7 patch int _getTraceClock() native "Timeline_getTraceClock"; | 7 patch int _getTraceClock() native "Timeline_getTraceClock"; |
8 | 8 |
9 patch int _getNextAsyncId() native "Timeline_getNextAsyncId"; | 9 patch int _getNextAsyncId() native "Timeline_getNextAsyncId"; |
10 | 10 |
| 11 patch int _getIsolateNum() native "Timeline_getIsolateNum"; |
| 12 |
11 patch void _reportTaskEvent( | 13 patch void _reportTaskEvent( |
12 int start, | 14 int start, |
13 int taskId, | 15 int taskId, |
14 String phase, | 16 String phase, |
15 String category, | 17 String category, |
16 String name, | 18 String name, |
17 String argumentsAsJson) native "Timeline_reportTaskEvent"; | 19 String argumentsAsJson) native "Timeline_reportTaskEvent"; |
18 | 20 |
19 patch void _reportCompleteEvent( | 21 patch void _reportCompleteEvent( |
20 int start, | 22 int start, |
21 int end, | 23 int end, |
22 String category, | 24 String category, |
23 String name, | 25 String name, |
24 String argumentsAsJson) native "Timeline_reportCompleteEvent"; | 26 String argumentsAsJson) native "Timeline_reportCompleteEvent"; |
OLD | NEW |