Author: stippi Date: 2010-01-18 09:52:42 +0100 (Mon, 18 Jan 2010) New Revision: 35141 Changeset: http://dev.haiku-os.org/changeset/35141/haiku Modified: haiku/trunk/src/kits/tracker/StatusWindow.h Log: Now that the speed is displayed right away, increase the number of slots for calculating the average speed to get a more stable value. Modified: haiku/trunk/src/kits/tracker/StatusWindow.h =================================================================== --- haiku/trunk/src/kits/tracker/StatusWindow.h 2010-01-18 08:44:18 UTC (rev 35140) +++ haiku/trunk/src/kits/tracker/StatusWindow.h 2010-01-18 08:52:42 UTC (rev 35141) @@ -146,7 +146,7 @@ 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;