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

Unified Diff: src/platform/time.h

Issue 68203004: linux: use CLOCK_{REALTIME,MONOTONIC}_COARSE (Closed)
Patch Set: Refactoring. Fix compilation with AOSP. Created 7 years, 1 month 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 | « no previous file | src/platform/time.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/time.h
diff --git a/src/platform/time.h b/src/platform/time.h
index 877e0203bb553920aa6271a81d61695824657891..7e5d59b5a0a5f704582bcc7bc927e2f79bb171b9 100644
--- a/src/platform/time.h
+++ b/src/platform/time.h
@@ -192,6 +192,8 @@ class Time V8_FINAL BASE_EMBEDDED {
static const int64_t kMicrosecondsPerDay = kMicrosecondsPerHour * 24;
static const int64_t kMicrosecondsPerWeek = kMicrosecondsPerDay * 7;
static const int64_t kNanosecondsPerMicrosecond = 1000;
+ static const int64_t kNanosecondsPerMillisecond = kNanosecondsPerMicrosecond *
+ kMicrosecondsPerMillisecond;
static const int64_t kNanosecondsPerSecond = kNanosecondsPerMicrosecond *
kMicrosecondsPerSecond;
« no previous file with comments | « no previous file | src/platform/time.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698