摘要 |
The method for measuring the execution time of a task in a real time system with multiple tasks provides that the timer is started at the beginning the task whose execution time is to be determined, is stopped in the event of an interruption, the status of the timer then being stored, and re-started when the interruption is terminated. The invention is characterised in that the timer can be started at the beginning of each task and in that its status is stored each time the priority level is changed. The inventive device for measuring the execution time has a timer to which a memory with a capacity corresponding to the number of priority levels is available.
|