Skip to content

tick may not be accurate when high CPU usage #1198

@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

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions