|
Description
Demonstrates an effective technique to manage Windows starvation. A real-time CPU bound thread is periodically suspended for short periods of time to provide a specified amount of time to Windows. The period and duty factor can be adjusted to analyze Windows and application behavior (such as a GUI application's responsiveness) under different real-time loads.
Source Files
Starvation project source file:
Starvation.c
sets up a timer that suspends a CPU bound thread for
some duration (default is .05 ms). This occurs every interval (default is 100 ms). Remarks
The starvation program can be built as an .rtss or .exe executable binary file and run in the real-time or Win32 environment.
Also see Starvation Management.
APIs Referenced
RTAPI |
Win32 APIs |