summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_fork.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2013-10-08 03:04:17 +0000
committerguenther <guenther@openbsd.org>2013-10-08 03:04:17 +0000
commit84848b17d643634f1a4c1ce2f5c82a5ac8591973 (patch)
treeaa349fdc7633007bcf74d353b1ab326175c9c35c /sys/kern/kern_fork.c
parentPrintf size_t vars with %zu, not %ld; (diff)
downloadwireguard-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