Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: runtime/lib/timeline.dart

Issue 2984603002: Special-case Timeline.{start,finish}Sync for Fuchsia (Closed)
Patch Set: . Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 _reportBeginEvent(String name) native "Timeline_reportBeginEvent";
26
27 @patch
25 void _reportCompleteEvent(int start, int startCpu, String category, String name, 28 void _reportCompleteEvent(int start, int startCpu, String category, String name,
26 String argumentsAsJson) native "Timeline_reportCompleteEvent"; 29 String argumentsAsJson) native "Timeline_reportCompleteEvent";
27 30
28 @patch 31 @patch
29 void _reportInstantEvent(int start, String category, String name, 32 void _reportInstantEvent(int start, String category, String name,
30 String argumentsAsJson) native "Timeline_reportInstantEvent"; 33 String argumentsAsJson) native "Timeline_reportInstantEvent";
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698