summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/include/rtems/rtems/ratemon.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-03-21 10:41:31 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-03-21 10:44:35 +0100
commit300eaadd42f2d62c28a2b55c8363601d87cc2bb3 (patch)
tree378fde5cdeade74ac0998f91d8a170e3399cf109 /cpukit/rtems/include/rtems/rtems/ratemon.h
parentrtems: Inline _Rate_monotonic_Reset_statistics() (diff)
downloadrtems-300eaadd42f2d62c28a2b55c8363601d87cc2bb3.tar.bz2
rtems: Delete Rate_monotonic_Period_time_t
Variables with this type directly used the _Timestamp_*() functions.
Diffstat (limited to '')
-rw-r--r--cpukit/rtems/include/rtems/rtems/ratemon.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/ratemon.h b/cpukit/rtems/include/rtems/rtems/ratemon.h
index 267502e940..0159e5c1e6 100644
--- a/cpukit/rtems/include/rtems/rtems/ratemon.h
+++ b/cpukit/rtems/include/rtems/rtems/ratemon.h
@@ -71,8 +71,6 @@ typedef struct timespec rtems_rate_monotonic_period_time_t;
*/
#include <rtems/score/timestamp.h>
-typedef Timestamp_Control Rate_monotonic_Period_time_t;
-
/**
* The following enumerated type defines the states in which a
* period may be.
@@ -156,18 +154,18 @@ typedef struct {
uint32_t missed_count;
/** This field contains the least amount of CPU time used in a period. */
- Timestamp_Control min_cpu_time;
+ Timestamp_Control min_cpu_time;
/** This field contains the highest amount of CPU time used in a period. */
- Timestamp_Control max_cpu_time;
+ Timestamp_Control max_cpu_time;
/** This field contains the total amount of wall time used in a period. */
- Timestamp_Control 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;
+ Timestamp_Control min_wall_time;
/** This field contains the highest amount of wall time used in a period. */
- Rate_monotonic_Period_time_t max_wall_time;
+ Timestamp_Control max_wall_time;
/** This field contains the total amount of CPU time used in a period. */
- Rate_monotonic_Period_time_t total_wall_time;
+ Timestamp_Control total_wall_time;
} Rate_monotonic_Statistics;
/**
@@ -232,7 +230,7 @@ typedef struct {
* This field contains the wall time value when the period
* was initiated. It is used to compute the period's statistics.
*/
- Rate_monotonic_Period_time_t time_period_initiated;
+ Timestamp_Control time_period_initiated;
/**
* This field contains the statistics maintained for the period.