sorting counts as job time in disk I/O thread timing

This commit is contained in:
Arvid Norberg 2011-03-20 07:44:25 +00:00
parent 54435a73b8
commit 2525b8b457
1 changed files with 1 additions and 0 deletions

View File

@ -1696,6 +1696,7 @@ namespace libtorrent
ptime now = time_now_hires();
m_sort_time.add_sample(total_microseconds(now - sort_start));
m_cache_stats.cumulative_sort_time += total_milliseconds(now - sort_start);
m_cache_stats.cumulative_job_time += total_milliseconds(done - operation_start);
continue;
}
}