From 3cfa5c1932b6cf0a6796416ecca51c805307ff93 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 2 Aug 2009 01:42:12 +0000 Subject: [PATCH] log_time fix --- src/session.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/session.cpp b/src/session.cpp index d7d88c9c1..f4d6c5081 100644 --- a/src/session.cpp +++ b/src/session.cpp @@ -94,7 +94,7 @@ namespace libtorrent std::string log_time() { - static const ptime start = time_now(); + static const ptime start = time_now_hires(); char ret[200]; std::sprintf(ret, "%d", total_milliseconds(time_now() - start)); return ret;