From ac4ea5366482dad9150c5aaa652b71c00960741f Mon Sep 17 00:00:00 2001 From: Gabriel Moyano Date: Fri, 20 May 2022 11:29:57 +0200 Subject: score: Rename tc_getfrequency() Rename tc_getfrequency() to _Timecounter_Get_frequency(). Update #2349. --- cpukit/include/rtems/score/timecounter.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cpukit/include/rtems/score/timecounter.h') diff --git a/cpukit/include/rtems/score/timecounter.h b/cpukit/include/rtems/score/timecounter.h index 1ecfc02085..ae1e2612f8 100644 --- a/cpukit/include/rtems/score/timecounter.h +++ b/cpukit/include/rtems/score/timecounter.h @@ -292,6 +292,14 @@ void _Timecounter_Set_NTP_update_second( */ void _Timecounter_NTP_update_second(int64_t *adjustment, time_t *newsec); +/** + * @brief Gets the frequency in Hz of the current timecounter at some time + * point during the call. + * + * @return Returns the frequency in Hz. + */ +uint64_t _Timecounter_Get_frequency(void); + /** @} */ #ifdef __cplusplus -- cgit v1.2.3