diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-02-01 14:09:51 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-02-01 14:09:51 +0000 |
commit | be1feeedeb531816d8a5e97a48515b57b1176b79 (patch) | |
tree | fdbf563a49363123d42c09dd7aa117a6b377812e /cpukit/rtems | |
parent | 2001-01-31 Mike Siers <mikes@poliac.com> (diff) | |
download | rtems-be1feeedeb531816d8a5e97a48515b57b1176b79.tar.bz2 |
2001-01-31 Joel Sherrill <joel@OARcorp.com>
* include/rtems/rtems/timer.h: Missed merging these modifications
in previous merge of new timer functionality.
Diffstat (limited to '')
-rw-r--r-- | cpukit/rtems/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/timer.h | 21 |
2 files changed, 26 insertions, 0 deletions
diff --git a/cpukit/rtems/ChangeLog b/cpukit/rtems/ChangeLog index dc436ac762..4c06aab12b 100644 --- a/cpukit/rtems/ChangeLog +++ b/cpukit/rtems/ChangeLog @@ -1,3 +1,8 @@ +2001-01-31 Joel Sherrill <joel@OARcorp.com> + + * include/rtems/rtems/timer.h: Missed merging these modifications + in previous merge of new timer functionality. + 2001-01-29 Joel Sherrill <joel@OARcorp.com> * Fixed bug where resetting a timer that was not at the head diff --git a/cpukit/rtems/include/rtems/rtems/timer.h b/cpukit/rtems/include/rtems/rtems/timer.h index 58d40b3e05..a1f2434c34 100644 --- a/cpukit/rtems/include/rtems/rtems/timer.h +++ b/cpukit/rtems/include/rtems/rtems/timer.h @@ -318,6 +318,27 @@ rtems_status_code rtems_timer_initiate_server( rtems_attribute attribute_set ); +/* + * rtems_timer_get_information + * + * DESCRIPTION: + * + * This routine implements the rtems_timer_get_information directive. + * This directive returns information about the timer. + */ + +typedef struct { + Timer_Classes the_class; + Watchdog_Interval initial; + Watchdog_Interval start_time; + Watchdog_Interval stop_time; +} rtems_timer_information; + +rtems_status_code rtems_timer_get_information( + Objects_Id id, + rtems_timer_information *the_info +); + #ifndef __RTEMS_APPLICATION__ #include <rtems/rtems/timer.inl> #endif |