diff options
author | Scott Soule Cheloha <cheloha@cvs.openbsd.org> | 2022-12-13 17:30:37 +0000 |
---|---|---|
committer | Scott Soule Cheloha <cheloha@cvs.openbsd.org> | 2022-12-13 17:30:37 +0000 |
commit | 8fda787441e114b3f331fda79e94278fa88a345e (patch) | |
tree | 443c589099118b135b48c219eceec7f740c0c120 /sys/kern/sys_pipe.c | |
parent | 875d73640e3ec1c92cb10cae20272a1ee8c03f06 (diff) |
timecounting: add getbinruntime(), getnsecruntime()
The networking people want a fast, monotonic clock that only advances
while the system is not suspended. The runtime clock satisfies most
of these requirements, so introduce getnsecruntime() to provide a fast
means for reading it.
Based on patches from jca@ and claudio@.
ok yasuoka@
Diffstat (limited to 'sys/kern/sys_pipe.c')
0 files changed, 0 insertions, 0 deletions