1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00

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
This commit is contained in:
Konstantin Belousov 2010-05-05 16:05:51 +00:00
parent 2e8d55c4e8
commit 213c077f62
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=207659

View File

@ -901,7 +901,7 @@ fill_kinfo_thread(struct thread *td, struct kinfo_proc *kp, int preferthread)
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;
}