John Baldwin f110b23b7d Add a new routine kvm_getcptime(3) for fetching the equivalent of
'kern.cp_time'.  For a live kernel it uses the sysctl.  For a crashdump,
it first checks to see if the kernel has a 'cp_time' global symbol.  If
it does, it uses that.  If that doesn't work, when it uses the recently
added kvm_getmaxcpu(3) and kvm_getpcpu(3) routines to walk all the CPUs
and sum up their counters.

MFC after:	1 week
2008-08-19 21:30:36 +00:00
..
2007-12-02 22:21:30 +00:00
2006-09-17 21:27:35 +00:00
2008-05-04 22:24:40 +00:00
2007-06-10 19:06:09 +00:00
2008-05-15 15:28:18 +00:00
2008-08-06 17:11:12 +00:00
2007-04-09 01:45:30 +00:00
2008-08-08 00:21:27 +00:00
2008-05-09 02:28:52 +00:00