summaryrefslogtreecommitdiffstats
path: root/c/src/exec/rtems/include/rtems/rtems/timer.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-02-01 14:09:51 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-02-01 14:09:51 +0000
commitbe1feeedeb531816d8a5e97a48515b57b1176b79 (patch)
treefdbf563a49363123d42c09dd7aa117a6b377812e /c/src/exec/rtems/include/rtems/rtems/timer.h
parent2001-01-31 Mike Siers <mikes@poliac.com> (diff)
downloadrtems-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--c/src/exec/rtems/include/rtems/rtems/timer.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/c/src/exec/rtems/include/rtems/rtems/timer.h b/c/src/exec/rtems/include/rtems/rtems/timer.h
index 58d40b3e05..a1f2434c34 100644
--- a/c/src/exec/rtems/include/rtems/rtems/timer.h
+++ b/c/src/exec/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