diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/include/rtems/score/thread.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index ccdeb3df27..1f79b49f8b 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -46,10 +46,9 @@ extern "C" { */ #define RTEMS_ENABLE_NANOSECOND_CPU_USAGE_STATISTICS - typedef Timestamp_Control rtems_thread_cpu_usage_t; - + typedef Timestamp_Control Thread_CPU_usage_t; #else - typedef uint32_t rtems_thread_cpu_usage_t; + typedef uint32_t Thread_CPU_usage_t; #endif #include <rtems/score/context.h> @@ -376,11 +375,10 @@ struct Thread_Control_struct { Thread_CPU_budget_algorithms budget_algorithm; /** This field is the method invoked with the budgeted time is consumed. */ Thread_CPU_budget_algorithm_callout budget_callout; - /** This field is the amount of CPU time consumed by this thread * since it was created. */ - rtems_thread_cpu_usage_t cpu_time_used; + Thread_CPU_usage_t cpu_time_used; /** This field points to the Ready FIFO for this priority. */ Chain_Control *ready; /** This field contains precalculated priority map indices. */ |