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

Unified Diff: base/time/time.h

Issue 27317002: base: Add base::TimeTicks::IsHighResNowFastAndReliable (Closed) Base URL: http://git.chromium.org/chromium/src.git@reenableHeavyPage
Patch Set: Fix link errors Created 7 years, 2 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
« no previous file with comments | « no previous file | base/time/time_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/time/time.h
diff --git a/base/time/time.h b/base/time/time.h
index a236a3f09a04d9ab514f92b17a35cba3dd79213c..112c14eab51604a3602fd2beadc18cabe66a5f1d 100644
--- a/base/time/time.h
+++ b/base/time/time.h
@@ -544,6 +544,8 @@ class BASE_EXPORT TimeTicks {
// SHOULD ONLY BE USED WHEN IT IS REALLY NEEDED.
static TimeTicks HighResNow();
+ static bool IsHighResNowFastAndReliable();
+
// Returns true if ThreadNow() is supported on this system.
static bool IsThreadNowSupported() {
#if defined(_POSIX_THREAD_CPUTIME) && (_POSIX_THREAD_CPUTIME >= 0)
« no previous file with comments | « no previous file | base/time/time_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698