atom feed4 messages in org.freebsd.freebsd-hackershow to get cpu states more than once ...
FromSent OnAttachments
Bernd WalterMar 2, 2004 10:27 pm 
Peter JeremyMar 3, 2004 12:57 am 
Bernd WalterMar 3, 2004 2:23 am 
Valentin NechayevMar 7, 2004 7:38 am 
Subject:how to get cpu states more than once a second?
From:Bernd Walter (tic@cicely12.cicely.de)
Date:Mar 2, 2004 10:27:30 pm
List:org.freebsd.freebsd-hackers

Currently I get the states via kern.cp_time, but this only allows a granularity of a single second and I need something around 50-100ms. Application is a LED bargraph which doesn't have the intended effect with just a single update per second.