View source for HANcoder/STM32/Blocks/Get CPU Load
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
Templates used on this page:
Return to HANcoder/STM32/Blocks/Get CPU Load.
You do not have permission to edit this page, for the following reason:
The action you have requested is limited to users in one of the groups: Administrators, Bureaucrats.
You can view and copy the source of this page.
Templates used on this page:
Return to HANcoder/STM32/Blocks/Get CPU Load.
Supported Targets: Olimexino, E407, P405
A 'Get CPU load' block gets the CPU load of the system. This block can be used to get the CPU load of all registered tasks and interrupt service routines. Idle task is not included.
The current or maximum CPU load.[uint8]
Parameter | Description |
---|---|
Mode | Select between the current or the maximum CPU load. |
Sample time | Sample time of the block. The Sample time (in seconds) defines the rate at which the block is visited by the real-time scheduler of the target. The value of the Sample time has to be an integer multiple of the base sample time of the model. |