caches the time every 100 ms and use the cache where high resolution timer is not needed
This commit is contained in:
@@ -4575,7 +4575,7 @@ namespace libtorrent
|
||||
|
||||
int ret = 0;
|
||||
|
||||
ptime now(time_now());
|
||||
ptime now = time_now();
|
||||
|
||||
int seed_time = total_seconds(m_seeding_time);
|
||||
int download_time = total_seconds(m_active_time) - seed_time;
|
||||
|
Reference in New Issue
Block a user