mirror of
https://github.com/nasa/trick.git
synced 2024-12-20 21:53:10 +00:00
279d131a0a
* Add breadcrumbs to all documentation pages, fix some links between pages
775 B
775 B
Home → Documentation Home → Simulation Capabilities → Realtime Timer |
---|
A realtime sleep timer is an optional class for Trick simulations.
The Realtime Sleep Timer allows the simulation to sleep in case of an frame underrun. This is desireable to allow other processes to use the CPU during times where the simulation would not be doing anything.
Trick provides a Sleep Timer based on the system itimer to sleep during simulation inactivity.
The user has the ability to enable and disable the sleep timer from the input file.
trick.itimer_enable()
trick.itimer_disable()