From 1b47daff095840c5c9f8b308148ce3143a2110fb Mon Sep 17 00:00:00 2001 From: Arpit Pandey Date: Mon, 8 Apr 2024 03:19:14 +0530 Subject: [PATCH] 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 --- src/monotonic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/monotonic.c b/src/monotonic.c index e55b5eb0c..a78d9d5f9 100644 --- a/src/monotonic.c +++ b/src/monotonic.c @@ -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 *