Index: runtime/lib/timeline.dart |
diff --git a/runtime/lib/timeline.dart b/runtime/lib/timeline.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..38ffa5f41e81f78c8219a040fda73eca7cdfd3ab |
--- /dev/null |
+++ b/runtime/lib/timeline.dart |
@@ -0,0 +1,14 @@ |
+// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
+// for details. All rights reserved. Use of this source code is governed by a |
+// BSD-style license that can be found in the LICENSE file. |
+ |
+import 'dart:_internal'; |
+ |
+patch int _getTraceClock() native "Timeline_getTraceClock"; |
+ |
+patch void _reportCompleteEvent( |
+ int start, |
+ int end, |
+ String category, |
+ String name, |
+ String argumentsAsJson) native "Timeline_reportCompleteEvent"; |