From d297c81dd9317b921ceed23e53872cb7fe4756f9 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 1 Mar 2016 06:36:16 +0100 Subject: score: Delete Thread_CPU_usage_t This type is superfluous since all operations with it are done via the _Timestamp_*() functions. --- cpukit/score/include/rtems/score/thread.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'cpukit/score/include/rtems/score/thread.h') diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index 69caef1095..73776b3ec1 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -33,6 +33,7 @@ #include #include #include +#include #include #if defined(RTEMS_SMP) @@ -82,14 +83,6 @@ extern "C" { #define RTEMS_SCORE_THREAD_ENABLE_USER_PROVIDED_STACK_VIA_API #endif -/* - * The user can define this at configure time and go back to ticks - * resolution. - */ -#include - -typedef Timestamp_Control Thread_CPU_usage_t; - /* * Only provided for backward compatiblity to not break application * configurations. @@ -807,7 +800,7 @@ struct _Thread_Control { /** This field is the amount of CPU time consumed by this thread * since it was created. */ - Thread_CPU_usage_t cpu_time_used; + Timestamp_Control cpu_time_used; /** This field contains information about the starting state of * this thread. -- cgit v1.2.3