Revert "tici: give loggerd rt priority (#21503)"

This reverts commit 7e2752c878.
This commit is contained in:
Adeeb Shihadeh
2021-08-22 16:57:53 -07:00
parent 78027b471f
commit 54a4eeb0fc
5 changed files with 17 additions and 22 deletions
+4 -3
View File
@@ -12,12 +12,13 @@ ts = defaultdict(lambda: deque(maxlen=100))
if __name__ == "__main__":
while True:
time.sleep(1)
print()
for s, sock in socks.items():
msgs = messaging.drain_sock(sock)
for m in msgs:
ts[s].append(m.logMonoTime / 1e6)
d = np.diff(ts[s])
print(f"{s:17} {np.mean(d):.2f} {np.std(d):.2f} {np.max(d):.2f} {np.min(d):.2f}")
if len(ts[s]) == ts[s].maxlen:
d = np.diff(ts[s])
print(f"{s:17} {np.mean(d):.2f} {np.std(d):.2f} {np.max(d):.2f} {np.min(d):.2f}")
time.sleep(1)