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

Unified Diff: base/time_win.cc

Issue 3387011: The submillisecond test was broken in at least two ways. First, the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 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: base/time_win.cc
===================================================================
--- base/time_win.cc (revision 59966)
+++ base/time_win.cc (working copy)
@@ -400,4 +400,9 @@
// static
int64 TimeTicks::GetQPCDriftMicroseconds() {
return Singleton<HighResNowSingleton>::get()->GetQPCDriftMicroseconds();
+}
+
+// static
+bool TimeTicks::IsHighResClockWorking() {
+ return Singleton<HighResNowSingleton>::get()->IsUsingHighResClock();
}
« no previous file with comments | « base/time.h ('k') | base/time_win_unittest.cc » ('j') | base/time_win_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698