FIX: Some fixes for statistics

This commit is contained in:
Alexander Koblov 2009-08-02 12:42:55 +00:00
commit e49cb0bada

View file

@ -143,9 +143,9 @@ begin
FStatisticsLock.Acquire;
try
theStatistics.RemainingTime :=
EstimateRemainingTime(FStatisticsAtStartTime.DoneFiles,
theStatistics.DoneFiles,
theStatistics.TotalFiles,
EstimateRemainingTime(FStatisticsAtStartTime.DoneBytes,
theStatistics.DoneBytes,
theStatistics.TotalBytes,
StartTime,
SysUtils.Now,
theStatistics.BytesPerSecond);