Logic - Time measurement
- by user73384
To measure the following for tasks-
Last execution time and maximum execution time for each task.
CPU load/time consumed by each task over a defined period informed by application at run time.
Maximum CPU load consumed by each task.
Tasks have following characteristics-
First task runs as background – Event information for entering only
Second task - periodic – Event information for entering and exiting from task
Third task is interrupt , can start any time – no information available from this task
Forth task highest priority interrupt , can start any time – Event information for entering and exiting from task
Should use least possible execution time and memory.
32bit increment timer available for time counting.
Lets prepare and discuss the logic, It’s OK to have limitations …!
Questions on understanding problem statement are welcome