aboutsummaryrefslogtreecommitdiff
path: root/src/iperf.h
diff options
context:
space:
mode:
authorBruce A. Mah <bmah@kitchenlab.org>2017-05-03 16:18:32 -0700
committerGitHub <noreply@github.com>2017-05-03 16:18:32 -0700
commitcba8584b2dea999a6cda6f8c6081c516485b2bc6 (patch)
treeecb873ecbc75d2afcac46e0f3bba8bc06a1b1853 /src/iperf.h
parent8ab637ab081f0968d6afeda5c2265bcf2b46155b (diff)
downloadiperf3-cba8584b2dea999a6cda6f8c6081c516485b2bc6.tar.gz
Pacing timer (#563)
* Add --pacing-timer option to allow tuning of -b timers. These control the granularity of the timer and hence burstiness of iperf3's sends. The default is 1ms (1000), which is the default starting with iperf 3.2. Follow-on to the commit in #460. * Update manpage and release notes for --pacing-timer.
Diffstat (limited to 'src/iperf.h')
-rwxr-xr-xsrc/iperf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/iperf.h b/src/iperf.h
index c565f42..f6d6cd3 100755
--- a/src/iperf.h
+++ b/src/iperf.h
@@ -116,6 +116,7 @@ struct iperf_settings
int blksize; /* size of read/writes (-l) */
uint64_t rate; /* target data rate for application pacing*/
uint64_t fqrate; /* target data rate for FQ pacing*/
+ int pacing_timer; /* pacing timer in microseconds */
int burst; /* packets per burst */
int mss; /* for TCP MSS */
int ttl; /* IP TTL option */