From 93e30a231844ad9c3ca27726520eec2676680dd3 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 6 Jun 2008 20:11:22 +0000 Subject: 2008-06-06 Joel Sherrill * user/rtmon.t: Change to using new types. --- doc/ChangeLog | 4 ++++ doc/user/rtmon.t | 24 ++++++++---------------- 2 files changed, 12 insertions(+), 16 deletions(-) (limited to 'doc') diff --git a/doc/ChangeLog b/doc/ChangeLog index d312ed13e0..6bcf4db1e9 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,7 @@ +2008-06-06 Joel Sherrill + + * user/rtmon.t: Change to using new types. + 2008-06-02 Joel Sherrill * cpu_supplement/.cvsignore, cpu_supplement/Makefile.am, diff --git a/doc/user/rtmon.t b/doc/user/rtmon.t index c18734c170..3fe3ce6dad 100644 --- a/doc/user/rtmon.t +++ b/doc/user/rtmon.t @@ -1225,18 +1225,10 @@ the rate monotonic period id in the following data @value{STRUCTURE}: @findex rtems_rate_monotonic_period_status @example typedef struct @{ - rtems_id owner; - rtems_rate_monotonic_period_states state; - #ifdef RTEMS_ENABLE_NANOSECOND_RATE_MONOTONIC_STATISTICS - struct timespec since_last_period; - #else - uint32_t ticks_since_last_period; - #endif - #ifdef RTEMS_ENABLE_NANOSECOND_CPU_USAGE_STATISTICS - struct timespec executed_since_last_period; - #else - uint32_t ticks_executed_since_last_period; - #endif + rtems_id owner; + rtems_rate_monotonic_period_states state; + rtems_rate_monotonic_period_time_t since_last_period; + rtems_thread_cpu_usage_t executed_since_last_period; @} rtems_rate_monotonic_period_status; @end example @end ifset @@ -1245,10 +1237,10 @@ typedef struct @{ @example type Rate_Monotonic_Period_Status is begin - Owner : RTEMS.ID; - State : RTEMS.Rate_Monotonic_Period_States; - Ticks_Since_Last_Period : RTEMS.Unsigned32; - Ticks_Executed_Since_Last_Period : RTEMS.Unsigned32; + Owner : RTEMS.ID; + State : RTEMS.Rate_Monotonic_Period_States; + Since_Last_Period : RTEMS.Unsigned32; + Executed_Since_Last_Period : RTEMS.Unsigned32; end record; @end example @end ifset -- cgit v1.2.3