aboutsummaryrefslogtreecommitdiff
path: root/src/feature
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2021-05-11 15:49:00 -0400
committerNick Mathewson <nickm@torproject.org>2021-05-11 15:49:00 -0400
commit9d7fca2306dc09097a24e225de59fb1ade7c9e34 (patch)
tree33678652c43da5549179ec0e742d8ba585b7fd1d /src/feature
parent2ae24d003d1d12e8e202748c4398d7438e4a65d9 (diff)
downloadtor-9d7fca2306dc09097a24e225de59fb1ade7c9e34.tar.gz
tor-9d7fca2306dc09097a24e225de59fb1ade7c9e34.zip
Make MinTimeToReportBandwidth a testing-only option (and rename it)
Diffstat (limited to 'src/feature')
-rw-r--r--src/feature/stats/bwhist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/stats/bwhist.c b/src/feature/stats/bwhist.c
index 55a8f7c747..06ad48e5c3 100644
--- a/src/feature/stats/bwhist.c
+++ b/src/feature/stats/bwhist.c
@@ -241,7 +241,7 @@ MOCK_IMPL(int,
bwhist_bandwidth_assess,(void))
{
uint64_t w,r;
- int min_obs_time = get_options()->MinTimeToReportBandwidth;
+ int min_obs_time = get_options()->TestingMinTimeToReportBandwidth;
r = find_largest_max(read_array, min_obs_time);
w = find_largest_max(write_array, min_obs_time);
if (r>w)