diff options
author | phk <phk@FreeBSD.org> | 2002-02-22 13:32:01 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-02-22 13:32:01 +0000 |
commit | fa959f1afd26bbeab46d956b15e7f7a25a23c30e (patch) | |
tree | e5ecf3d25102e8c345e8b21cabef4d87489b8437 /sys/kern/init_main.c | |
parent | 6beb5af66cdd422d033e8a94de23a35073864d0e (diff) | |
download | FreeBSD-src-fa959f1afd26bbeab46d956b15e7f7a25a23c30e.zip FreeBSD-src-fa959f1afd26bbeab46d956b15e7f7a25a23c30e.tar.gz |
Convert p->p_runtime and PCPU(switchtime) to bintime format.
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r-- | sys/kern/init_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 2bbedb0..6b698e4 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -416,7 +416,8 @@ proc0_post(void *dummy __unused) sx_slock(&allproc_lock); LIST_FOREACH(p, &allproc, p_list) { microtime(&p->p_stats->p_start); - p->p_runtime = 0; + p->p_runtime.sec = 0; + p->p_runtime.frac = 0; } sx_sunlock(&allproc_lock); microuptime(PCPU_PTR(switchtime)); |