From 16940ab877271282f83d89d3e2f84fce78cd2cc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Mon, 18 Jan 2010 08:52:42 +0000 Subject: [PATCH] Now that the speed is displayed right away, increase the number of slots for calculating the average speed to get a more stable value. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35141 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/tracker/StatusWindow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/tracker/StatusWindow.h b/src/kits/tracker/StatusWindow.h index fd9e8b27ff..9df5f2989f 100644 --- a/src/kits/tracker/StatusWindow.h +++ b/src/kits/tracker/StatusWindow.h @@ -146,7 +146,7 @@ private: bigtime_t fProcessStartTime; bigtime_t fLastSpeedUpdateTime; bigtime_t fEstimatedFinishReferenceTime; - static const size_t kBytesPerSecondSlots = 5; + static const size_t kBytesPerSecondSlots = 10; size_t fCurrentBytesPerSecondSlot; double fBytesPerSecondSlot[kBytesPerSecondSlots]; double fBytesPerSecond;