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

Unified Diff: runtime/bin/utils.h

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/io_natives.cc ('k') | runtime/bin/utils_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/utils.h
diff --git a/runtime/bin/utils.h b/runtime/bin/utils.h
index 2c3f1fc46f26153113c8e9aa59f4a40fb98d7ec5..a1714c2d54db67950bb0b061b220ca2f1929805b 100644
--- a/runtime/bin/utils.h
+++ b/runtime/bin/utils.h
@@ -98,8 +98,8 @@ class ShellUtils {
class TimerUtils {
public:
- static int64_t GetCurrentTimeMicros();
- static int64_t GetCurrentTimeMilliseconds();
+ static int64_t GetCurrentMonotonicMicros();
+ static int64_t GetCurrentMonotonicMillis();
static void Sleep(int64_t millis);
};
« no previous file with comments | « runtime/bin/io_natives.cc ('k') | runtime/bin/utils_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698