[rtems commit] rtems: Fix Clock Manager parameter descriptions

Sebastian Huber sebh at rtems.org
Wed Dec 22 07:11:47 UTC 2021


Module:    rtems
Branch:    master
Commit:    d40477161eebe53460b6219901bdc4e33efd43ed
Changeset: http://git.rtems.org/rtems/commit/?id=d40477161eebe53460b6219901bdc4e33efd43ed

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Dec 22 08:16:43 2021 +0100

rtems: Fix Clock Manager parameter descriptions

Update #4572.

---

 cpukit/include/rtems/rtems/clock.h | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/cpukit/include/rtems/rtems/clock.h b/cpukit/include/rtems/rtems/clock.h
index 6cdc8d6..7247b48 100644
--- a/cpukit/include/rtems/rtems/clock.h
+++ b/cpukit/include/rtems/rtems/clock.h
@@ -451,8 +451,8 @@ void rtems_clock_get_realtime_coarse_timeval( struct timeval *time_snapshot );
  * @brief Gets the time elapsed since some fixed time point in the past
  *   measured using the CLOCK_MONOTONIC in seconds and nanoseconds format.
  *
- * @param[out] time_snapshot is the pointer to a bintime object.  The time
- *   elapsed since some fixed time point in the past measured using the
+ * @param[out] time_snapshot is the pointer to a struct timespec object.  The
+ *   time elapsed since some fixed time point in the past measured using the
  *   CLOCK_MONOTONIC at some time point during the directive call will be
  *   stored in this object.  Calling the directive with a pointer equal to NULL
  *   is undefined behaviour.
@@ -562,8 +562,8 @@ int64_t rtems_clock_get_monotonic_sbintime( void );
  * @brief Gets the time elapsed since some fixed time point in the past
  *   measured using the CLOCK_MONOTONIC in seconds and microseconds format.
  *
- * @param[out] time_snapshot is the pointer to a bintime object.  The time
- *   elapsed since some fixed time point in the past measured using the
+ * @param[out] time_snapshot is the pointer to a struct timeval object.  The
+ *   time elapsed since some fixed time point in the past measured using the
  *   CLOCK_MONOTONIC at some time point during the directive call will be
  *   stored in this object.  Calling the directive with a pointer equal to NULL
  *   is undefined behaviour.
@@ -601,8 +601,8 @@ void rtems_clock_get_monotonic_timeval( struct timeval *time_snapshot );
  *   measured using the CLOCK_MONOTONIC in coarse resolution in seconds and
  *   nanoseconds format.
  *
- * @param[out] time_snapshot is the pointer to a bintime object.  The time
- *   elapsed since some fixed time point in the past measured using the
+ * @param[out] time_snapshot is the pointer to a struct timespec object.  The
+ *   time elapsed since some fixed time point in the past measured using the
  *   CLOCK_MONOTONIC at some time point close to the directive call will be
  *   stored in this object.  Calling the directive with a pointer equal to NULL
  *   is undefined behaviour.
@@ -681,8 +681,8 @@ void rtems_clock_get_monotonic_coarse_bintime( struct bintime *time_snapshot );
  *   measured using the CLOCK_MONOTONIC in coarse resolution in seconds and
  *   microseconds format.
  *
- * @param[out] time_snapshot is the pointer to a bintime object.  The time
- *   elapsed since some fixed time point in the past measured using the
+ * @param[out] time_snapshot is the pointer to a struct timeval object.  The
+ *   time elapsed since some fixed time point in the past measured using the
  *   CLOCK_MONOTONIC at some time point close to the directive call will be
  *   stored in this object.  Calling the directive with a pointer equal to NULL
  *   is undefined behaviour.



More information about the vc mailing list