From ea2b0d04800291845af0ffbfa75500ec3b2c4413 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Thu, 6 Sep 2018 09:58:25 +0200 Subject: [PATCH] Print total predicted number of buffer underruns I think this is the final metric that we'll want to track. Contributes to issue CURA-5561. --- tests/50_inst_per_sec.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/50_inst_per_sec.py b/tests/50_inst_per_sec.py index 58787a4849..91992c813a 100644 --- a/tests/50_inst_per_sec.py +++ b/tests/50_inst_per_sec.py @@ -501,6 +501,7 @@ class CommandBuffer: code_count = item["cmd_count"], time = round(item["time"], 4), speed = round(item["cmd_count"] / item["time"], 2))) + print("Total predicted number of buffer underruns:", len(self._bad_frame_ranges)) if __name__ == "__main__":