HomeFreeBSD

Use clock_gettime to measure the time that we spent asleep during

Description

Use clock_gettime to measure the time that we spent asleep during
"vmstat -i" instead of assuming it's what we asked for.

Submitted by: asomers
MFC after: 1 week
Sponsored by: Spectra Logic
MFSpectraBSD: 1066751 on 2014/06/04

Details

Provenance
willAuthored on
Parents
rS277570: Use CLOCK_UPTIME to get the uptime instead of CLOCK_MONOTONIC.
Branches
Unknown
Tags
Unknown

Event Timeline