aconstlink / natus

[Discontinued] Software Framework for Audio/Visual/Interactive Real-Time Applications
https://aconstlink.de
MIT License
0 stars 0 forks source link

CPU consumption too high #277

Closed aconstlink closed 3 years ago

aconstlink commented 3 years ago

The consumption of CPU performance is too high for little work done. Screenshot 2021-03-16 101709

A possible solution would be to restrict the update frequency to some value other updates are ok with. There are two update routines that are unbound at the moment:

aconstlink commented 3 years ago

Reduced CPU consumption by simply adding a sleep for max. 2000 microseconds to the platform update.

Screenshot 2021-03-31 114309

aconstlink commented 3 years ago

In release build even better! Screenshot 2021-03-31 115153