Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: measuring x86 idle time?



dyoung%pobox.com@localhost (David Young) writes:

>In NetBSD, is there a way to measure the amount of time that an x86 CPU
>has spent executing no instructions since boot?  I.e., idle time spent
>in hlt?  If I have to hack the kernel to do it, that's ok.

sysctl kern.cp_time ?
-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index