forked from Imagelibrary/rtems
2011-03-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libmisc/cpuuse/cpuusagereport.c: Avoid assumptions on execution context.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2011-03-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* libmisc/cpuuse/cpuusagereport.c: Avoid assumptions on execution
|
||||
context.
|
||||
|
||||
2011-03-15 Chris Johns <chrisj@rtems.org>
|
||||
|
||||
* libfs/src/rfs/rtems-rfs-rtems-file.c,
|
||||
|
||||
@@ -67,6 +67,7 @@ void rtems_cpu_usage_report_with_plugin(
|
||||
* guideline as to what each number means proportionally.
|
||||
*/
|
||||
#ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__
|
||||
total = 0;
|
||||
uptime_at_last_reset = CPU_usage_Uptime_at_last_reset;
|
||||
#else
|
||||
for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
|
||||
|
||||
Reference in New Issue
Block a user