Changeset 9e735966 in rtems


Ignore:
Timestamp:
Oct 2, 2012, 6:24:20 PM (7 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
196fe59
Parents:
b249d7f
Message:

score/percpu.h: _Thread_Time_of_last_context_switch always available

This field is used whether ticks are used for statistics or not.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/include/rtems/score/percpu.h

    rb249d7f r9e735966  
    261261#define _Thread_Dispatch_necessary \
    262262  _Per_CPU_Information[bsp_smp_processor_id()].dispatch_necessary
    263 #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__
    264   #define _Thread_Time_of_last_context_switch \
    265     _Per_CPU_Information[bsp_smp_processor_id()].time_of_last_context_switch
    266 #endif
    267 
     263#define _Thread_Time_of_last_context_switch \
     264  _Per_CPU_Information[bsp_smp_processor_id()].time_of_last_context_switch
    268265
    269266#endif  /* ASM */
Note: See TracChangeset for help on using the changeset viewer.