[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/2] * lib/gettime-res.c: 1 cs -> 10 ms in comment.
From: |
Paul Eggert |
Subject: |
[PATCH 2/2] * lib/gettime-res.c: 1 cs -> 10 ms in comment. |
Date: |
Tue, 28 Dec 2021 15:13:05 -0800 |
---
lib/gettime-res.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/gettime-res.c b/lib/gettime-res.c
index 6e9784347..8c3ea1c71 100644
--- a/lib/gettime-res.c
+++ b/lib/gettime-res.c
@@ -57,7 +57,7 @@ gettime_res (void)
/* On some platforms, clock_getres (CLOCK_REALTIME, ...) yields a
too-large resolution, under the mistaken theory that it should
return the timer interval. For example, on AIX 7.2 POWER8
- clock_getres yields 1 cs even though clock_gettime yields 1 µs
+ clock_getres yields 10 ms even though clock_gettime yields 1 µs
resolution. Work around the problem with high probability by
trying clock_gettime several times and observing the resulting
bounds on resolution. */
--
2.33.1