This is a callback function for a task switch.
It is used to light the MityDSP LED's to indicate CPU load. With a MityDSP-Pro, one LED will be fully on when the CPU is idle, the other will be fully on when the CPU is busy, and they will be somewhere inbetween based on load. For a standard MityDSP, only the busy LED exists.
- Note:
- In order to work, this function must be installed as a "switch
function" with the Module Hook Manager in the DSP/BIOS configuration file.
- Parameters:
-
[in] | ahOld | The thread being swithched out. |
[in] | ahNew | The thread being swithched in. |
- Returns:
- None.