summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/ratemonperiod.c
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/src/ratemonperiod.c
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 'cpukit/rtems/src/ratemonperiod.c')
-rw-r--r--cpukit/rtems/src/ratemonperiod.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/cpukit/rtems/src/ratemonperiod.c b/cpukit/rtems/src/ratemonperiod.c
index 2a4b4ebde2..11968adc27 100644
--- a/cpukit/rtems/src/ratemonperiod.c
+++ b/cpukit/rtems/src/ratemonperiod.c
@@ -25,9 +25,9 @@
#include <rtems/score/watchdogimpl.h>
bool _Rate_monotonic_Get_status(
- Rate_monotonic_Control *the_period,
- Rate_monotonic_Period_time_t *wall_since_last_period,
- Timestamp_Control *cpu_since_last_period
+ const Rate_monotonic_Control *the_period,
+ Timestamp_Control *wall_since_last_period,
+ Timestamp_Control *cpu_since_last_period
)
{
Timestamp_Control uptime;
@@ -92,10 +92,10 @@ static void _Rate_monotonic_Update_statistics(
Rate_monotonic_Control *the_period
)
{
- Timestamp_Control executed;
- Rate_monotonic_Period_time_t since_last_period;
- Rate_monotonic_Statistics *stats;
- bool valid_status;
+ Timestamp_Control executed;
+ Timestamp_Control since_last_period;
+ Rate_monotonic_Statistics *stats;
+ bool valid_status;
/*
* Assume we are only called in states where it is appropriate