commit 687c4a66ef61a57382dc67dbdb3ddca285ae618b
parent 3d2397091e86b3c242377804c0bc137ad2fa66d5
Author: Drew DeVault <sir@cmpwn.com>
Date: Mon, 15 Feb 2021 14:30:14 -0500
rt+test: overshot on the nanosecond conversion
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rt/+test/+linux.ha b/rt/+test/+linux.ha
@@ -9,5 +9,5 @@ fn time_stop() (size, size) = {
let end: timespec = timespec { ... };
clock_gettime(CLOCK_MONOTONIC, &end) as void;
return ((end.tv_sec - start.tv_sec): size,
- (end.tv_nsec - start.tv_nsec): size / 100000z);
+ (end.tv_nsec - start.tv_nsec): size / 10000z);
};