From 50e03b0e4951e9cf9f21728c5e101b7aca8ead99 Mon Sep 17 00:00:00 2001 From: Victor Bittorf Date: Tue, 1 Aug 2023 13:51:26 -0700 Subject: [PATCH] Change Critical Difference to 400ms Currently at least one submitters with a lower power system is running into issues achieving a 200ms sync. This increases in the window to 400ms. See discussion here: https://groups.google.com/a/mlcommons.org/g/power/c/tes-gPJlbzk --- ptd_client_server/lib/time_sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ptd_client_server/lib/time_sync.py b/ptd_client_server/lib/time_sync.py index fe7bb620..0331cba3 100644 --- a/ptd_client_server/lib/time_sync.py +++ b/ptd_client_server/lib/time_sync.py @@ -24,7 +24,7 @@ from ptd_client_server.lib.external import ntplib # type: ignore -CRITICAL_DIFFERENCE_TIME_MS = 200 +CRITICAL_DIFFERENCE_TIME_MS = 400 def get_ntp_response(server: str) -> Any: