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.
This commit is contained in:
Ghostkeeper 2018-09-06 09:58:25 +02:00
parent 3e30e26ac0
commit ea2b0d0480
No known key found for this signature in database
GPG key ID: 5252B696FB5E7C7A

View file

@ -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__":