bbperf 0.0.7__tar.gz → 0.0.8__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. {bbperf-0.0.7 → bbperf-0.0.8}/PKG-INFO +1 -1
  2. {bbperf-0.0.7 → bbperf-0.0.8}/pyproject.toml +1 -1
  3. {bbperf-0.0.7 → bbperf-0.0.8}/src/bbperf/data_sender_thread.py +7 -0
  4. {bbperf-0.0.7 → bbperf-0.0.8}/.gitignore +0 -0
  5. {bbperf-0.0.7 → bbperf-0.0.8}/DEPLOY.txt +0 -0
  6. {bbperf-0.0.7 → bbperf-0.0.8}/LICENSE +0 -0
  7. {bbperf-0.0.7 → bbperf-0.0.8}/README.md +0 -0
  8. {bbperf-0.0.7 → bbperf-0.0.8}/bbperf.service +0 -0
  9. {bbperf-0.0.7 → bbperf-0.0.8}/src/bbperf/.gitignore +0 -0
  10. {bbperf-0.0.7 → bbperf-0.0.8}/src/bbperf/__init__.py +0 -0
  11. {bbperf-0.0.7 → bbperf-0.0.8}/src/bbperf/bbperf.py +0 -0
  12. {bbperf-0.0.7 → bbperf-0.0.8}/src/bbperf/client.py +0 -0
  13. {bbperf-0.0.7 → bbperf-0.0.8}/src/bbperf/const.py +0 -0
  14. {bbperf-0.0.7 → bbperf-0.0.8}/src/bbperf/control_receiver_thread.py +0 -0
  15. {bbperf-0.0.7 → bbperf-0.0.8}/src/bbperf/data_receiver_thread.py +0 -0
  16. {bbperf-0.0.7 → bbperf-0.0.8}/src/bbperf/data_sample_evaluator_class.py +0 -0
  17. {bbperf-0.0.7 → bbperf-0.0.8}/src/bbperf/data_udp_ping_sender_thread.py +0 -0
  18. {bbperf-0.0.7 → bbperf-0.0.8}/src/bbperf/exceptions.py +0 -0
  19. {bbperf-0.0.7 → bbperf-0.0.8}/src/bbperf/graph.py +0 -0
  20. {bbperf-0.0.7 → bbperf-0.0.8}/src/bbperf/json_output_class.py +0 -0
  21. {bbperf-0.0.7 → bbperf-0.0.8}/src/bbperf/output.py +0 -0
  22. {bbperf-0.0.7 → bbperf-0.0.8}/src/bbperf/run_mode_manager_class.py +0 -0
  23. {bbperf-0.0.7 → bbperf-0.0.8}/src/bbperf/server.py +0 -0
  24. {bbperf-0.0.7 → bbperf-0.0.8}/src/bbperf/tcp-graph.gp +0 -0
  25. {bbperf-0.0.7 → bbperf-0.0.8}/src/bbperf/tcp_control_connection_class.py +0 -0
  26. {bbperf-0.0.7 → bbperf-0.0.8}/src/bbperf/udp-graph.gp +0 -0
  27. {bbperf-0.0.7 → bbperf-0.0.8}/src/bbperf/udp_rate_manager_class.py +0 -0
  28. {bbperf-0.0.7 → bbperf-0.0.8}/src/bbperf/util.py +0 -0
  29. {bbperf-0.0.7 → bbperf-0.0.8}/tests/run_test.sh +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bbperf
3
- Version: 0.0.7
3
+ Version: 0.0.8
4
4
  Summary: An end-to-end performance and bufferbloat measurement tool
5
5
  Project-URL: Homepage, https://github.com/cloudflare/bbperf
6
6
  Project-URL: Issues, https://github.com/cloudflare/bbperf/issues
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "bbperf"
7
- version = "0.0.7"
7
+ version = "0.0.8"
8
8
  authors = [
9
9
  { name="Mike Freemon", email="mfreemon@cloudflare.com" },
10
10
  ]
@@ -53,10 +53,17 @@ def run(args, stdout_queue, data_sock, peer_addr, shared_run_mode, shared_udp_se
53
53
 
54
54
  total_send_counter = 1
55
55
 
56
+ calibration_start_time = time.time()
57
+
56
58
  while True:
57
59
  curr_time_sec = time.time()
58
60
 
59
61
  if (shared_run_mode.value == const.RUN_MODE_CALIBRATING):
62
+ if curr_time_sec > (calibration_start_time + const.MAX_DURATION_CALIBRATION_TIME_SEC):
63
+ error_msg = "FATAL: data_sender_thread: time in calibration exceeded max allowed"
64
+ stdout_queue.put(error_msg)
65
+ raise Exception(error_msg)
66
+
60
67
  is_calibrated = False
61
68
  else:
62
69
  is_calibrated = True
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes