Skip to content

Automatically Adjust Detector Update Rate #16

Open
@Valkryst

Description

Though detectors should make an effort to respect the updatesPerSecond value passed to their start function, it is entirely possible that the user's device cannot run as fast as the developer requests. In these cases, we could use the StatRecorder class to keep track of the average runtime and adjust the update rate as necessary.

We never want to run faster than the specified updatesPerSecond, but it is acceptable to run more slowly.

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