]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
time(1): use the monotonic clock
authorasomers <asomers@FreeBSD.org>
Fri, 4 May 2018 14:39:32 +0000 (14:39 +0000)
committerasomers <asomers@FreeBSD.org>
Fri, 4 May 2018 14:39:32 +0000 (14:39 +0000)
commitb827a65241af9dfd1822f012f9cc8132a6e81eab
tree493acc68de34a63046ae2690facb71d9eb1a2f80
parent0dbea2eefe1563c5d90918e30bc57f363df7ea98
time(1): use the monotonic clock

The monotonic clock is more appropriate than the realtime clock for
measuring durations.

Reviewed by: ken, jilles
Differential Revision: https://reviews.freebsd.org/D14032
usr.bin/time/time.c