Searched hist:181880 (Results 1 - 4 of 4) sorted by relevance
/freebsd-10.1-release/lib/libkvm/ | ||
H A D | kvm_getcptime.3 | 181880 Tue Aug 19 19:33:13 MDT 2008 jhb 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 |
H A D | kvm_cptime.c | 181880 Tue Aug 19 19:33:13 MDT 2008 jhb 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 |
H A D | kvm.h | diff 181880 Tue Aug 19 19:33:13 MDT 2008 jhb 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 |
H A D | Makefile | diff 181880 Tue Aug 19 19:33:13 MDT 2008 jhb 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 |
Completed in 175 milliseconds