Skip to content

tick may not be accurate when high CPU usage #1198

Open
@DennisZhangOiler

Description

@DennisZhangOiler

Hi, I am using tick to set a timer, but it seems that it could be not accurate when high CPU usage, I just checked the source code, it simply uses a std::thread::sleep, could you improve this to be more accruate?

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