diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-03-01 06:36:16 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-03-01 07:40:33 +0100 |
commit | d297c81dd9317b921ceed23e53872cb7fe4756f9 (patch) | |
tree | bb397762a8d73880a74ccc3dce3766d1c1dc4d7a /cpukit/score/include/rtems/score/thread.h | |
parent | malloc: Fix function definition (diff) | |
download | rtems-d297c81dd9317b921ceed23e53872cb7fe4756f9.tar.bz2 |
score: Delete Thread_CPU_usage_t
This type is superfluous since all operations with it are done via the
_Timestamp_*() functions.
Diffstat (limited to 'cpukit/score/include/rtems/score/thread.h')
-rw-r--r-- | cpukit/score/include/rtems/score/thread.h | 11 |
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. |