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

Unified Diff: runtime/lib/timeline.dart

Issue 1985813002: Add an intrinsified early out path for Dart timeline calls (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: runtime/lib/timeline.dart
diff --git a/runtime/lib/timeline.dart b/runtime/lib/timeline.dart
index b4ecd44ffa98abea6bf5c65f11243dc9cab7397c..df43dec0b5f24b2be8ce3feafd817eb6c1ea9985 100644
--- a/runtime/lib/timeline.dart
+++ b/runtime/lib/timeline.dart
@@ -4,6 +4,8 @@
import 'dart:_internal';
+patch bool _isDartStreamEnabled() native "Timeline_isDartStreamEnabled";
+
patch int _getTraceClock() native "Timeline_getTraceClock";
patch int _getThreadCpuClock() native "Timeline_getThreadCpuClock";

Powered by Google App Engine
This is Rietveld 408576698