Browse Source

Apparently time.time() is a more reliable time.clock()

teor (Tim Wilson-Brown) 7 years ago
parent
commit
89e8ec1cc2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      scripts/chutney_tests/verify.py

+ 2 - 2
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