[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [sbws/master] Use observed bw methods to init V3BWLine
commit e64ecd47e9ddd1e5eaf68a608a4989e1554626b3
Author: juga0 <juga@xxxxxxxxxx>
Date: Fri Aug 31 10:59:09 2018 +0000
Use observed bw methods to init V3BWLine
---
sbws/lib/v3bwfile.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/sbws/lib/v3bwfile.py b/sbws/lib/v3bwfile.py
index 28be1a9..4756e5e 100644
--- a/sbws/lib/v3bwfile.py
+++ b/sbws/lib/v3bwfile.py
@@ -264,6 +264,10 @@ class V3BWLine(object):
kwargs['bw_bs_mean'] = cls.bw_bs_mean_from_results(success_results)
kwargs['bw_bs_median'] = cls.bw_bs_median_from_results(
success_results)
+ kwargs['desc_obs_bw_bs_last'] = \
+ cls.desc_obs_bw_bs_last_from_results(success_results)
+ kwargs['desc_obs_bw_bs_mean'] = \
+ cls.desc_obs_bw_bs_mean_from_results(success_results)
bwl = cls(node_id, bw, **kwargs)
return bwl
return None
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits