Ignore:
Timestamp:
Oct 19, 2011, 7:25:10 AM (8 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
2e98d46
Parents:
229bcca8
Message:

2011-10-18 Sebastian Huber <sebastian.huber@…>

PR 1939/cpukit

  • rtems/src/ratemonperiod.c: Fixed type mismatch.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/rtems/src/ratemonperiod.c

    r229bcca8 r9e162be9  
    130130  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__
    131131    if (owning_thread == _Thread_Executing) {
    132 
    133       rtems_thread_cpu_usage_t ran;
     132      Timestamp_Control ran;
    134133
    135134      /*
     
    137136       *  context switch.
    138137       */
    139       _Timespec_Subtract(
     138      _Timestamp_Subtract(
    140139        &_Thread_Time_of_last_context_switch, &uptime, &ran
    141140      );
    142141
    143       _Timespec_Add_to( &the_period->cpu_usage_period_initiated, &ran );
     142      _Timestamp_Add_to( &the_period->cpu_usage_period_initiated, &ran );
    144143    }
    145144  #endif
Note: See TracChangeset for help on using the changeset viewer.