summaryrefslogtreecommitdiffstats
path: root/base/time_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/time_win.cc')
-rw-r--r--base/time_win.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/base/time_win.cc b/base/time_win.cc
index 00868f6..63f9768 100644
--- a/base/time_win.cc
+++ b/base/time_win.cc
@@ -150,6 +150,11 @@ FILETIME Time::ToFileTime() const {
}
// static
+Time Time::FromLargeInteger(LARGE_INTEGER li) {
+ return Time(li.QuadPart / 10);
+}
+
+// static
void Time::EnableHighResolutionTimer(bool enable) {
// Test for single-threaded access.
static PlatformThreadId my_thread = PlatformThread::CurrentId();