mirror of
https://github.com/nasa/trick.git
synced 2024-12-22 06:27:49 +00:00
27 lines
695 B
Plaintext
27 lines
695 B
Plaintext
/**
|
|
|
|
@page LEVEL2 Realtime Sleep 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.
|
|
|
|
@code
|
|
trick.itimer_enable
|
|
trick.itimer_disable
|
|
@endcode
|
|
|
|
@section LEVEL3 Realtime Sleep Timer Related Pages
|
|
Realtime Realtime Sleep Timer Requirements\n
|
|
Realtime Realtime Sleep Timer Design
|
|
|
|
*/
|
|
|