Skip to content

Division by zero when duration is 0 #19

@JayFoxRox

Description

@JayFoxRox

The following line can trigger a division by zero:

 print("Recorded %d flip stalls and %d PB commands (%.2f commands / second)" % (flipStallCount, commandCount, commandCount / duration))

This will likely happen if hooking into the PB failed and the timer resolution is too low.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions