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

Unified Diff: src/platform/time.h

Issue 25468003: Always use timeGetTime() for TimeTicks::Now() on Windows. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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: src/platform/time.h
diff --git a/src/platform/time.h b/src/platform/time.h
index 2ce6cdd3e99137505243ca47d139eeab5f7a0e34..2d6fd74c6e23ab8e676afdce97430d55d12eb4ec 100644
--- a/src/platform/time.h
+++ b/src/platform/time.h
@@ -335,6 +335,9 @@ class TimeTicks V8_FINAL BASE_EMBEDDED {
// This method never returns a null TimeTicks.
static TimeTicks HighResNow();
+ // Returns true if the high-resolution clock is working on this system.
+ static bool IsHighResClockWorking();
Hannes Payer (out of office) 2013/10/02 11:27:25 Can we call it IsHighResolutionClockWorking()? And
Benedikt Meurer 2013/10/02 12:27:46 Done.
+
// Returns true if this object has not been initialized.
bool IsNull() const { return ticks_ == 0; }
« no previous file with comments | « src/platform-win32.cc ('k') | src/platform/time.cc » ('j') | src/platform/time.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698