mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 18:49:02 +08:00
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:
parent
3e30e26ac0
commit
ea2b0d0480
@ -501,6 +501,7 @@ class CommandBuffer:
|
|||||||
code_count = item["cmd_count"],
|
code_count = item["cmd_count"],
|
||||||
time = round(item["time"], 4),
|
time = round(item["time"], 4),
|
||||||
speed = round(item["cmd_count"] / item["time"], 2)))
|
speed = round(item["cmd_count"] / item["time"], 2)))
|
||||||
|
print("Total predicted number of buffer underruns:", len(self._bad_frame_ranges))
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user