diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-09-20 01:09:32 +0000 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-09-20 01:09:32 +0000 |
commit | 1a2471411605302574df89cc82d7a3b4da0b2005 (patch) | |
tree | 513a5641f9201e2a7d374ba9ec927547f11b5732 /tests/monotonic-cputime.c | |
parent | ab843ae81eb445d94ed6821e45df8a782d2886e6 (diff) | |
download | libsandglass-1a2471411605302574df89cc82d7a3b4da0b2005.tar.xz |
Use .11111s instead of .1s in tests to illustrate precision.
Diffstat (limited to 'tests/monotonic-cputime.c')
-rw-r--r-- | tests/monotonic-cputime.c | 2 |
1 files changed, 1 insertions, 1 deletions
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()"); |