log_time fix
This commit is contained in:
parent
797f1e5ae5
commit
3cfa5c1932
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue