how to get cpu states more than once a second?

Bernd Walter ticso at cicely12.cicely.de
Tue Mar 2 22:27:49 PST 2004


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.

-- 
B.Walter                   BWCT                http://www.bwct.de
ticso at bwct.de                                  info at bwct.de



More information about the freebsd-hackers mailing list