2011-03-15 Joel Sherrill <joel.sherrill@oarcorp.com>

* libmisc/cpuuse/cpuusagereport.c: Make compile again.
This commit is contained in:
Joel Sherrill
2011-03-15 19:03:38 +00:00
parent a47dd1cc26
commit d15c084eb6
2 changed files with 5 additions and 1 deletions

View File

@@ -67,7 +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;
_Timestamp_Set_to_zero( &total );
uptime_at_last_reset = CPU_usage_Uptime_at_last_reset;
#else
for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {