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

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

Issue 1397823002: Add support for emitting asynchronous timeline events from Dart code (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « runtime/lib/timeline.cc ('k') | runtime/vm/bootstrap_natives.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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";
10
11 patch void _reportTaskEvent(
12 int start,
13 int taskId,
14 String phase,
15 String category,
16 String name,
17 String argumentsAsJson) native "Timeline_reportTaskEvent";
18
9 patch void _reportCompleteEvent( 19 patch void _reportCompleteEvent(
10 int start, 20 int start,
11 int end, 21 int end,
12 String category, 22 String category,
13 String name, 23 String name,
14 String argumentsAsJson) native "Timeline_reportCompleteEvent"; 24 String argumentsAsJson) native "Timeline_reportCompleteEvent";
OLDNEW
« no previous file with comments | « runtime/lib/timeline.cc ('k') | runtime/vm/bootstrap_natives.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698