fixed bug in disk job timer

This commit is contained in:
Arvid Norberg 2011-03-18 03:52:25 +00:00
parent e6fe05e6f0
commit 68c3faaad1
1 changed files with 2 additions and 2 deletions

View File

@ -1711,7 +1711,7 @@ namespace libtorrent
flush_expired_pieces();
ptime operation_start = time_now_hires();
ptime operation_start = now;
int ret = 0;
@ -2412,7 +2412,7 @@ namespace libtorrent
TORRENT_ASSERT(!j.storage || !j.storage->error());
m_job_time.add_sample(total_microseconds(operation_start - now));
m_job_time.add_sample(total_microseconds(time_now_hires() - operation_start));
// if (!j.callback) std::cerr << "DISK THREAD: no callback specified" << std::endl;
// else std::cerr << "DISK THREAD: invoking callback" << std::endl;