HomeFreeBSD

time(1): use clock_gettime(2) instead of gettimeofday(2)

Description

time(1): use clock_gettime(2) instead of gettimeofday(2)

This is a prerequisite to adding support for the monotonic clock

Reviewed by: ken, imp
MFC after: 3 weeks
Sponsored by: Spectra Logic Corp
Differential Revision: https://reviews.freebsd.org/D14030

Details

Provenance
asomersAuthored on
Reviewer
ken
Differential Revision
D14030: time: use clock_gettime instead of gettimeofday
Parents
rS328342: Add SPDX identifiers to linux_ptrace.c and cfumass.c.
Branches
Unknown
Tags
Unknown