Fix: Typo clock_getting -> clock_gettime (#244)

typo in comment monotonic.c file:- 

Changed: faster than calling 'clock_getting' (POSIX) 
To: faster than calling 'clock_gettime' (POSIX)

Signed-off-by: Arpit Pandey <arpit.pandey05@gmail.com>
This commit is contained in:
Arpit Pandey 2024-04-08 03:19:14 +05:30 committed by GitHub
parent 9f03dfc1f6
commit 1b47daff09
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,7 @@ static char monotonic_info_string[32];
/* Using the processor clock (aka TSC on x86) can provide improved performance
* throughout Redis wherever the monotonic clock is used. The processor clock
* is significantly faster than calling 'clock_getting' (POSIX). While this is
* is significantly faster than calling 'clock_gettime' (POSIX). While this is
* generally safe on modern systems, this link provides additional information
* about use of the x86 TSC: http://oliveryang.net/2015/09/pitfalls-of-TSC-usage
*