Date: Mon, 18 Jul 2011 17:33:08 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern kern_proc.c kern_resource.c src/sys/sys resourcevar.h src/usr.bin/top machine.c Message-ID: <201107181733.p6IHXwrr069781@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2011-07-18 17:33:08 UTC
FreeBSD src repository
Modified files:
sys/kern kern_proc.c kern_resource.c
sys/sys resourcevar.h
usr.bin/top machine.c
Log:
SVN rev 224188 on 2011-07-18 17:33:08Z by jhb
- Export each thread's individual resource usage in in struct kinfo_proc's
ki_rusage member when KERN_PROC_INC_THREAD is passed to one of the
process sysctls.
- Correctly account for the current thread's cputime in the thread when
doing the runtime fixup in calcru().
- Use TIDs as the key to lookup the previous thread to compute IO stat
deltas in IO mode in top when thread display is enabled.
Reviewed by: kib
Approved by: re (kib)
Revision Changes Path
1.314 +5 -0 src/sys/kern/kern_proc.c
1.210 +34 -6 src/sys/kern/kern_resource.c
1.62 +1 -0 src/sys/sys/resourcevar.h
1.100 +15 -2 src/usr.bin/top/machine.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107181733.p6IHXwrr069781>
