[tor-commits] [chutney/master] Apparently time.time() is a more reliable time.clock()
teor at torproject.org
teor at torproject.org
Mon Jul 18 02:55:52 UTC 2016
commit 89e8ec1cc2f3f346cf3dae071486f4f03f1c6799
Author: teor (Tim Wilson-Brown) <teor2345 at gmail.com>
Date: Mon Jul 18 12:54:39 2016 +1000
Apparently time.time() is a more reliable time.clock()
---
scripts/chutney_tests/verify.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/chutney_tests/verify.py b/scripts/chutney_tests/verify.py
index 8734b60..ac601c9 100644
--- a/scripts/chutney_tests/verify.py
+++ b/scripts/chutney_tests/verify.py
@@ -94,9 +94,9 @@ def _verify_traffic(network):
LISTEN_PORT, connection_count,
network._dfltEnv['hs_multi_client'])
print("Transmitting Data:")
- start_time = time.clock()
+ start_time = time.time()
status = tt.run()
- end_time = time.clock()
+ end_time = time.time()
# if we fail, don't report the bandwidth
if not status:
return status
More information about the tor-commits
mailing list