summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/throughput.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1998-06-09 18:49:10 +0000
committerbrian <brian@FreeBSD.org>1998-06-09 18:49:10 +0000
commit681bc52f5f3f6b8e9580ce732ec27111e8836dbd (patch)
treed9193b5c7ca577693686047d6cfed57cfc72f866 /usr.sbin/ppp/throughput.h
parent9587eb787a9d18729dc461edc4a70a7a53d166c6 (diff)
downloadFreeBSD-src-681bc52f5f3f6b8e9580ce732ec27111e8836dbd.zip
FreeBSD-src-681bc52f5f3f6b8e9580ce732ec27111e8836dbd.tar.gz
Show the time that we reached maximum throughput.
Submitted by: "Stephane E. Potvin" <sepotvin@videotron.ca>
Diffstat (limited to 'usr.sbin/ppp/throughput.h')
-rw-r--r--usr.sbin/ppp/throughput.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/throughput.h b/usr.sbin/ppp/throughput.h
index 7a2f065..dfad619 100644
--- a/usr.sbin/ppp/throughput.h
+++ b/usr.sbin/ppp/throughput.h
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: throughput.h,v 1.2.4.4 1998/04/16 00:26:19 brian Exp $
+ * $Id: throughput.h,v 1.3 1998/05/21 21:48:43 brian Exp $
*/
#define SAMPLE_PERIOD 5
@@ -35,6 +35,7 @@ struct pppThroughput {
u_long SampleOctets[SAMPLE_PERIOD];
int OctetsPerSecond;
int BestOctetsPerSecond;
+ time_t BestOctetsPerSecondTime;
int nSample;
unsigned rolling : 1;
struct pppTimer Timer;
OpenPOWER on IntegriCloud