summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/include/rtems/rtems/ratemon.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-03-01 06:36:16 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-03-01 07:40:33 +0100
commitd297c81dd9317b921ceed23e53872cb7fe4756f9 (patch)
treebb397762a8d73880a74ccc3dce3766d1c1dc4d7a /cpukit/rtems/include/rtems/rtems/ratemon.h
parentmalloc: Fix function definition (diff)
downloadrtems-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 '')
-rw-r--r--cpukit/rtems/include/rtems/rtems/ratemon.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/ratemon.h b/cpukit/rtems/include/rtems/rtems/ratemon.h
index 5af170defa..267502e940 100644
--- a/cpukit/rtems/include/rtems/rtems/ratemon.h
+++ b/cpukit/rtems/include/rtems/rtems/ratemon.h
@@ -156,11 +156,11 @@ typedef struct {
uint32_t missed_count;
/** This field contains the least amount of CPU time used in a period. */
- Thread_CPU_usage_t min_cpu_time;
+ Timestamp_Control min_cpu_time;
/** This field contains the highest amount of CPU time used in a period. */
- Thread_CPU_usage_t max_cpu_time;
+ Timestamp_Control max_cpu_time;
/** This field contains the total amount of wall time used in a period. */
- Thread_CPU_usage_t total_cpu_time;
+ Timestamp_Control total_cpu_time;
/** This field contains the least amount of wall time used in a period. */
Rate_monotonic_Period_time_t min_wall_time;
@@ -226,7 +226,7 @@ typedef struct {
* the period was initiated. It is used to compute the period's
* statistics.
*/
- Thread_CPU_usage_t cpu_usage_period_initiated;
+ Timestamp_Control cpu_usage_period_initiated;
/**
* This field contains the wall time value when the period