summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKostyantyn Ovechko <fastinetserver@gmail.com>2010-06-28 11:43:21 +0300
committerKostyantyn Ovechko <fastinetserver@gmail.com>2010-06-28 11:43:21 +0300
commit698f78ad3c606ffd33e4e94ab02bb08f37e1b92b (patch)
treef3dbfd93c89a31d0c2b0f2490dbe68d7e421e213 /segget/pkg.cpp
parentMake time measurement more precise - in milliseconds (diff)
downloadidfetch-698f78ad3c606ffd33e4e94ab02bb08f37e1b92b.tar.gz
idfetch-698f78ad3c606ffd33e4e94ab02bb08f37e1b92b.tar.bz2
idfetch-698f78ad3c606ffd33e4e94ab02bb08f37e1b92b.zip
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
Diffstat (limited to 'segget/pkg.cpp')
-rw-r--r--segget/pkg.cpp25
1 files changed, 25 insertions, 0 deletions
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 <fastinetserver@gmail.com>.
+*
+* 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__