]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Rejig the code to figure out estcpu and work out how long a KSEGRP has been
authorJulian Elischer <julian@FreeBSD.org>
Fri, 30 Aug 2002 00:25:49 +0000 (00:25 +0000)
committerJulian Elischer <julian@FreeBSD.org>
Fri, 30 Aug 2002 00:25:49 +0000 (00:25 +0000)
commit472be95807b5fa12fb0be899fe5c576e217d046f
treef07519d2ea07cb1772f86114bdfc24a9cc5a7540
parentc34fd0a79a57417d552ef30d6566080ab4fb0385
Rejig the code to figure out estcpu and work out how long a KSEGRP has been
idle. What was there before was surprisingly ALMOST correct.

Peter and I fried our brains on this for a couple of hours figuring out
what this actually means in the context of multiple threads.

Reviewed by: peter@freebsd.org
sys/kern/kern_switch.c
sys/kern/kern_synch.c
sys/sys/proc.h