2008-06-06 Joel Sherrill <joel.sherrill@OARcorp.com>

* user/rtmon.t: Change to using new types.
This commit is contained in:
Joel Sherrill
2008-06-06 20:11:22 +00:00
parent 8c8fd64a70
commit 93e30a2318
2 changed files with 12 additions and 16 deletions

View File

@@ -1,3 +1,7 @@
2008-06-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/rtmon.t: Change to using new types.
2008-06-02 Joel Sherrill <joel.sherrill@oarcorp.com> 2008-06-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu_supplement/.cvsignore, cpu_supplement/Makefile.am, * cpu_supplement/.cvsignore, cpu_supplement/Makefile.am,

View File

@@ -1225,18 +1225,10 @@ the rate monotonic period id in the following data @value{STRUCTURE}:
@findex rtems_rate_monotonic_period_status @findex rtems_rate_monotonic_period_status
@example @example
typedef struct @{ typedef struct @{
rtems_id owner; rtems_id owner;
rtems_rate_monotonic_period_states state; rtems_rate_monotonic_period_states state;
#ifdef RTEMS_ENABLE_NANOSECOND_RATE_MONOTONIC_STATISTICS rtems_rate_monotonic_period_time_t since_last_period;
struct timespec since_last_period; rtems_thread_cpu_usage_t executed_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_rate_monotonic_period_status; @} rtems_rate_monotonic_period_status;
@end example @end example
@end ifset @end ifset
@@ -1245,10 +1237,10 @@ typedef struct @{
@example @example
type Rate_Monotonic_Period_Status is type Rate_Monotonic_Period_Status is
begin begin
Owner : RTEMS.ID; Owner : RTEMS.ID;
State : RTEMS.Rate_Monotonic_Period_States; State : RTEMS.Rate_Monotonic_Period_States;
Ticks_Since_Last_Period : RTEMS.Unsigned32; Since_Last_Period : RTEMS.Unsigned32;
Ticks_Executed_Since_Last_Period : RTEMS.Unsigned32; Executed_Since_Last_Period : RTEMS.Unsigned32;
end record; end record;
@end example @end example
@end ifset @end ifset