f110b23b7d
'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 |
||
---|---|---|
.. | ||
kvm_amd64.c | ||
kvm_arm.c | ||
kvm_cptime.c | ||
kvm_file.c | ||
kvm_getcptime.3 | ||
kvm_geterr.3 | ||
kvm_getfiles.3 | ||
kvm_getloadavg.3 | ||
kvm_getloadavg.c | ||
kvm_getpcpu.3 | ||
kvm_getprocs.3 | ||
kvm_getswapinfo.3 | ||
kvm_getswapinfo.c | ||
kvm_i386.c | ||
kvm_ia64.c | ||
kvm_minidump_amd64.c | ||
kvm_minidump_i386.c | ||
kvm_mips.c | ||
kvm_nlist.3 | ||
kvm_open.3 | ||
kvm_pcpu.c | ||
kvm_powerpc.c | ||
kvm_private.h | ||
kvm_proc.c | ||
kvm_read.3 | ||
kvm_sparc64.c | ||
kvm_sparc.c | ||
kvm.3 | ||
kvm.c | ||
kvm.h | ||
Makefile |