pkgsrc/benchmarks/nttcp/patches/patch-ad
simonb e1421030a9 Add a new -U option, to run for a given time instead of for a given
number of buffers.
Bump PKGREVISION.

Not feed upsteam as author seems to have disappeared :(
2006-05-12 03:07:14 +00:00

14 lines
520 B
Text

$NetBSD: patch-ad,v 1.1 2006/05/12 03:07:14 simonb Exp $
--- nttcp.1.orig 2000-08-16 20:20:45.000000000 +1000
+++ nttcp.1
@@ -109,6 +109,9 @@ given fixed length.
Defines the buffer size of the transmitting and receiving socket.
This is system dependant; usally it is 16K.
.TP
+.BI "\-U " "number of seconds"
+Run until approximately the given number of seconds have passed.
+.TP
.B "\-c "
If this option is present, the receiving side will compare the
bytes received with the pattern used by the sending side. At