From 1a2471411605302574df89cc82d7a3b4da0b2005 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 20 Sep 2009 01:09:32 +0000 Subject: Use .11111s instead of .1s in tests to illustrate precision. --- tests/monotonic-cputime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/monotonic-cputime.c') diff --git a/tests/monotonic-cputime.c b/tests/monotonic-cputime.c index 4d56793..7733a3a 100644 --- a/tests/monotonic-cputime.c +++ b/tests/monotonic-cputime.c @@ -30,7 +30,7 @@ main() { sandglass_t sandglass; sandglass_attributes_t attr = { SANDGLASS_MONOTONIC, SANDGLASS_CPUTIME }; - struct timespec tosleep = { .tv_sec = 0, .tv_nsec = 100000000L }; + struct timespec tosleep = { .tv_sec = 0, .tv_nsec = 111111111L }; if (sandglass_create(&sandglass, &attr, &attr) != 0) { perror("sandglass_create()"); -- cgit v1.2.3