Skip to content

Scheduler uses wrong time base #1

Description

@fpaquet

Your scheduler is based on os.clock(), which returns an approximation of the amount in seconds of CPU time used by the program.
It's only working, because the main loop is consuming 100% cpu time.

The solution is to replace os.clock() with socket.gettime()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions