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

Unified Diff: runtime/lib/internal_patch.dart

Issue 1519563003: Use a monotonic clock in the implementation of Timer. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « runtime/bin/utils_win.cc ('k') | runtime/lib/timer_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/internal_patch.dart
diff --git a/runtime/lib/internal_patch.dart b/runtime/lib/internal_patch.dart
index 8e955061138b462d53aeeb43b91db4e9ccd9c7f6..163ec6ec2741abb86d42c06b1ed663e4697ad54b 100644
--- a/runtime/lib/internal_patch.dart
+++ b/runtime/lib/internal_patch.dart
@@ -11,10 +11,17 @@ patch List makeFixedListUnmodifiable(List fixedLengthList)
class VMLibraryHooks {
// Example: "dart:isolate _Timer._factory"
static var timerFactory;
+
// Example: "dart:io _EventHandler._sendData"
static var eventHandlerSendData;
+
+ // A nullary closure that answers the current clock value in milliseconds.
+ // Example: "dart:io _EventHandler._timerMillisecondClock"
+ static var timerMillisecondClock;
+
// Implementation of Resource.readAsBytes.
static var resourceReadAsBytes;
+
// Implementation of package root/map provision.
static var getPackageRoot;
static var getPackageMap;
« no previous file with comments | « runtime/bin/utils_win.cc ('k') | runtime/lib/timer_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698