diff options
author | 2013-10-08 03:04:17 +0000 | |
---|---|---|
committer | 2013-10-08 03:04:17 +0000 | |
commit | 84848b17d643634f1a4c1ce2f5c82a5ac8591973 (patch) | |
tree | aa349fdc7633007bcf74d353b1ab326175c9c35c /sys/kern/kern_fork.c | |
parent | Printf size_t vars with %zu, not %ld; (diff) | |
download | wireguard-openbsd-84848b17d643634f1a4c1ce2f5c82a5ac8591973.tar.xz wireguard-openbsd-84848b17d643634f1a4c1ce2f5c82a5ac8591973.zip |
Obtain the uptime of the running system using the new CLOCK_UPTIME,
so that averages/rates are over the actual time-running-not-suspended.
For kernel cores, peek at the 'time_uptime' and 'naptime' variables.
original report by and ok mlarkin@
Diffstat (limited to 'sys/kern/kern_fork.c')
0 files changed, 0 insertions, 0 deletions