Date: Wed, 5 May 2010 16:05:51 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r207659 - head/sys/kern Message-ID: <201005051605.o45G5pDG096478@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Wed May 5 16:05:51 2010 New Revision: 207659 URL: http://svn.freebsd.org/changeset/base/207659 Log: Fix a mistake in r207603. td_rux.rux_runtime still needs conversion. Reported and tested by: nwhitehorn Pointy hat to: kib MFC after: 6 days Modified: head/sys/kern/kern_proc.c Modified: head/sys/kern/kern_proc.c ============================================================================== --- head/sys/kern/kern_proc.c Wed May 5 12:48:30 2010 (r207658) +++ head/sys/kern/kern_proc.c Wed May 5 16:05:51 2010 (r207659) @@ -901,7 +901,7 @@ fill_kinfo_thread(struct thread *td, str kp->ki_pri.pri_user = td->td_user_pri; if (preferthread) { - kp->ki_runtime = td->td_rux.rux_runtime; + kp->ki_runtime = cputick2usec(td->td_rux.rux_runtime); kp->ki_pctcpu = sched_pctcpu(td); kp->ki_estcpu = td->td_estcpu; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005051605.o45G5pDG096478>