From ecef36987538fe7daf033c0c9344413355d615b1 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 17 Oct 2017 16:19:03 +0200 Subject: score: Rename _Watchdog_Ticks_from_*() Rename _Watchdog_Ticks_from_*() to _Watchdog_Realtime_from_*(). This highlights that these routines are used for the CLOCK_REALTIME watchdogs (in contrast to CLOCK_MONOTONIC). Update #3117. Update #3182. --- cpukit/score/include/rtems/score/watchdogimpl.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpukit/score/include/rtems/score/watchdogimpl.h') diff --git a/cpukit/score/include/rtems/score/watchdogimpl.h b/cpukit/score/include/rtems/score/watchdogimpl.h index 89a7e7d602..f1693a3a14 100644 --- a/cpukit/score/include/rtems/score/watchdogimpl.h +++ b/cpukit/score/include/rtems/score/watchdogimpl.h @@ -293,7 +293,7 @@ RTEMS_INLINE_ROUTINE void _Watchdog_Next_first( */ #define WATCHDOG_BITS_FOR_1E9_NANOSECONDS 30 -RTEMS_INLINE_ROUTINE uint64_t _Watchdog_Ticks_from_seconds( +RTEMS_INLINE_ROUTINE uint64_t _Watchdog_Realtime_from_seconds( uint32_t seconds ) { @@ -304,7 +304,7 @@ RTEMS_INLINE_ROUTINE uint64_t _Watchdog_Ticks_from_seconds( return ticks; } -RTEMS_INLINE_ROUTINE uint64_t _Watchdog_Ticks_from_timespec( +RTEMS_INLINE_ROUTINE uint64_t _Watchdog_Realtime_from_timespec( const struct timespec *ts ) { @@ -324,7 +324,7 @@ RTEMS_INLINE_ROUTINE uint64_t _Watchdog_Ticks_from_timespec( return ticks; } -RTEMS_INLINE_ROUTINE uint64_t _Watchdog_Ticks_from_sbintime( +RTEMS_INLINE_ROUTINE uint64_t _Watchdog_Realtime_from_sbintime( sbintime_t sbt ) { -- cgit v1.2.3