summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/include/rtems/score/thread.h')
-rw-r--r--cpukit/score/include/rtems/score/thread.h11
1 files changed, 2 insertions, 9 deletions
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 <rtems/score/stack.h>
#include <rtems/score/states.h>
#include <rtems/score/threadq.h>
+#include <rtems/score/timestamp.h>
#include <rtems/score/watchdog.h>
#if defined(RTEMS_SMP)
@@ -83,14 +84,6 @@ extern "C" {
#endif
/*
- * The user can define this at configure time and go back to ticks
- * resolution.
- */
-#include <rtems/score/timestamp.h>
-
-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.