From 698f78ad3c606ffd33e4e94ab02bb08f37e1b92b Mon Sep 17 00:00:00 2001 From: Kostyantyn Ovechko Date: Mon, 28 Jun 2010 11:43:21 +0300 Subject: Add option [connections].current_speed_time_interval_msecs to segget.conf CURRENT_SPEED_TIME_INTERVAL_MSECS segget transfers may have bursty nature of their traffic. Therefore, while measuring current speed, segget actually calculates average speed during current_speed_time_interval_msecs time interval, defined in milliseconds. Min limit:100 Max limit: 60000 Default: current_speed_time_interval_msecs=1000 --- segget/pkg.cpp | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'segget/pkg.cpp') diff --git a/segget/pkg.cpp b/segget/pkg.cpp index 61854c7..4a6ad37 100644 --- a/segget/pkg.cpp +++ b/segget/pkg.cpp @@ -1,3 +1,28 @@ +/* +* Copyright (C) 2010 Robin H.Johnson, Ovechko Kostyantyn . +* +* Project: IDFetch. +* Developer: Ovechko Kostyantyn Olexandrovich (Kharkiv State Technical University of Construction and Architecture, Ukraine). +* Mentor: Robin H. Johnson (Gentoo Linux: Developer, Trustee & Infrastructure Lead). +* Mentoring organization: Gentoo Linux. +* Sponsored by GSOC 2010. +* +* This file is part of Segget. +* +* Segget is free software; you can redistribute it and/or +* modify it under the terms of the GNU Lesser General Public +* License as published by the Free Software Foundation; either +* version 2.1 of the License, or (at your option) any later version. +* +* Segget is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +* Lesser General Public License for more details. +* +* You should have received a copy of the GNU Lesser General Public +* License along with Segget; if not, write to the Free Software +* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ #ifndef __PKG_H__ #define __PKG_H__ -- cgit v1.2.3-65-gdbad