Skip to content

CPU consumption increases as target FPS is lowered #4

@ksdhans

Description

@ksdhans

I've noticed undesirable behaviour: the lower the target FPS is set via SetTargetFPS(), the higher CPU consumption is.

A quick look at WaitTime() suggests that it's probably busy-waiting on AmigaOS. I'm not sure if our usleep() implementation busy-waits as well, but we want WaitTime() to yield the CPU to other tasks until the time delay is up.

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