forked from Imagelibrary/rtems
The rate monotonic period statistics were affected by rtems_cpu_usage_reset(). The logic to detect and work around a CPU usage reset was broken. The Thread_Contol::cpu_time_used is changed to contain the processor time used throughout the entire lifetime of the thread. The new member Thread_Contol::cpu_time_used_at_last_reset is added to contain the processor time used at the time of the last reset through rtems_cpu_usage_reset(). This decouples the resets of the CPU usage and the rate monotonic period statistics. Update #4528.
This directory contains for the "miscellaneous" library. Currently this library contains a number of useful support libraries: + Task Stack Overflow Checker + Workspace Consistency Checker + Task Execution Time Monitor + Period Statistics Monitor + Debug Monitor The following ideas have been mentioned for items which could go in this library, but this list is not all inclusive: + there are no outstanding suggestions. The intent of this library is to provide a home for useful utility routines which are dependent upon RTEMS. --joel 16 Sept 97