summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-10-17 16:19:03 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-10-24 09:37:27 +0200
commitecef36987538fe7daf033c0c9344413355d615b1 (patch)
tree1b2ba4f6e3d400b791e7f279a279b86ef63e3860 /cpukit/score/src
parentconfdefs: Warn about problematic ticks per second (diff)
downloadrtems-ecef36987538fe7daf033c0c9344413355d615b1.tar.bz2
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.
Diffstat (limited to 'cpukit/score/src')
-rw-r--r--cpukit/score/src/coretodset.c2
-rw-r--r--cpukit/score/src/watchdogtick.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/src/coretodset.c b/cpukit/score/src/coretodset.c
index beda8c69b8..1223f5c7aa 100644
--- a/cpukit/score/src/coretodset.c
+++ b/cpukit/score/src/coretodset.c
@@ -37,7 +37,7 @@ void _TOD_Set(
timespec2bintime( tod, &tod_as_bintime );
_Timecounter_Set_clock( &tod_as_bintime, lock_context );
- tod_as_ticks = _Watchdog_Ticks_from_timespec( tod );
+ tod_as_ticks = _Watchdog_Realtime_from_timespec( tod );
cpu_count = _SMP_Get_processor_count();
for ( cpu_index = 0 ; cpu_index < cpu_count ; ++cpu_index ) {
diff --git a/cpukit/score/src/watchdogtick.c b/cpukit/score/src/watchdogtick.c
index e1c5a30f8a..3384ea60f3 100644
--- a/cpukit/score/src/watchdogtick.c
+++ b/cpukit/score/src/watchdogtick.c
@@ -85,7 +85,7 @@ void _Watchdog_Tick( Per_CPU_Control *cpu )
_Timecounter_Getnanotime( &now );
_Watchdog_Per_CPU_tickle_realtime(
cpu,
- _Watchdog_Ticks_from_timespec( &now )
+ _Watchdog_Realtime_from_timespec( &now )
);
_Scheduler_Tick( cpu );