summaryrefslogtreecommitdiffstats
path: root/sys/sys/sched.h
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2013-06-03 16:55:21 +0000
committerguenther <guenther@openbsd.org>2013-06-03 16:55:21 +0000
commit08be1c182fbd154e4a9fe23d2f7954d0b00a3b1d (patch)
treec4804a28a8f9e84c1f24ccefb4fe9d4d7f61f5e6 /sys/sys/sched.h
parentImplement support for multiple addresses per interface. (diff)
downloadwireguard-openbsd-08be1c182fbd154e4a9fe23d2f7954d0b00a3b1d.tar.xz
wireguard-openbsd-08be1c182fbd154e4a9fe23d2f7954d0b00a3b1d.zip
Convert some internal APIs to use timespecs instead of timevals
ok matthew@ deraadt@
Diffstat (limited to 'sys/sys/sched.h')
-rw-r--r--sys/sys/sched.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/sched.h b/sys/sys/sched.h
index 16512054428..8a953934b24 100644
--- a/sys/sys/sched.h
+++ b/sys/sys/sched.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sched.h,v 1.30 2011/11/16 20:50:19 deraadt Exp $ */
+/* $OpenBSD: sched.h,v 1.31 2013/06/03 16:55:22 guenther Exp $ */
/* $NetBSD: sched.h,v 1.2 1999/02/28 18:14:58 ross Exp $ */
/*-
@@ -94,7 +94,7 @@
* XXX - expose to userland for now.
*/
struct schedstate_percpu {
- struct timeval spc_runtime; /* time curproc started running */
+ struct timespec spc_runtime; /* time curproc started running */
__volatile int spc_schedflags; /* flags; see below */
u_int spc_schedticks; /* ticks for schedclock() */
u_int64_t spc_cp_time[CPUSTATES]; /* CPU state statistics */