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

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

Issue 1412183008: Redo TimelineTask API (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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 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"; 11 patch int _getIsolateNum() native "Timeline_getIsolateNum";
12 12
13 patch void _reportTaskEvent( 13 patch void _reportTaskEvent(
14 int start, 14 int start,
15 int taskId, 15 int taskId,
16 String phase, 16 String phase,
17 String category, 17 String category,
18 String name, 18 String name,
19 String argumentsAsJson) native "Timeline_reportTaskEvent"; 19 String argumentsAsJson) native "Timeline_reportTaskEvent";
20 20
21 patch void _reportCompleteEvent( 21 patch void _reportCompleteEvent(
22 int start, 22 int start,
23 int end, 23 int end,
24 String category, 24 String category,
25 String name, 25 String name,
26 String argumentsAsJson) native "Timeline_reportCompleteEvent"; 26 String argumentsAsJson) native "Timeline_reportCompleteEvent";
27
28 patch void _reportInstantEvent(
29 int start,
30 String category,
31 String name,
32 String argumentsAsJson) native "Timeline_reportInstantEvent";
OLDNEW
« no previous file with comments | « runtime/lib/timeline.cc ('k') | runtime/observatory/tests/service/get_vm_timeline_rpc_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698