freebsd-dev/lib/libkvm
firk bb53dd56c3 kern_tc.c/cputick2usec() (which is used to calculate cputime from
cpu ticks) has some imprecision and, worse, huge timestep (about
20 minutes on 4GHz CPU) near 53.4 days of elapsed time.

kern_time.c/cputick2timespec() (it is used for clock_gettime() for
querying process or thread consumed cpu time) Uses cputick2usec()
and then needlessly converting usec to nsec, obviously losing
precision even with fixed cputick2usec().

kern_time.c/kern_clock_getres() uses some weird (anyway wrong)
formula for getting cputick resolution.

PR:		262215
Reviewed by:	gnn
Differential Revision:	https://reviews.freebsd.org/D34558
2022-03-21 09:33:46 -04:00
..
tests
kvm_aarch64.h Make page size dynamic in libkvm for arm64 2022-03-15 09:52:15 +00:00
kvm_amd64.c
kvm_amd64.h
kvm_arm.c
kvm_arm.h
kvm_cptime.c
kvm_getcptime.3
kvm_geterr.3
kvm_getloadavg.3
kvm_getloadavg.c libkvm: Fix kvm_getloadavg() on modern kernel vmcores 2021-12-07 15:36:34 -08:00
kvm_getpcpu.3
kvm_getprocs.3
kvm_getswapinfo.3
kvm_getswapinfo.c
kvm_i386.c
kvm_i386.h
kvm_kerndisp.3
kvm_minidump_aarch64.c Make page size dynamic in libkvm for arm64 2022-03-15 09:52:15 +00:00
kvm_minidump_amd64.c
kvm_minidump_arm.c
kvm_minidump_i386.c
kvm_minidump_powerpc64_hpt.c
kvm_minidump_powerpc64.c
kvm_minidump_riscv.c
kvm_native.3
kvm_nlist.3 Document 7f911abe's new functions came in 11.0 2021-12-15 16:18:59 -08:00
kvm_open.3 Document 7f911abe's new functions came in 11.0 2021-12-15 16:18:59 -08:00
kvm_pcpu.c
kvm_powerpc64.c
kvm_powerpc64.h
kvm_powerpc.c
kvm_private.c libkvm: fix kvm_walk_pages 2021-12-10 14:15:15 -05:00
kvm_private.h
kvm_proc.c kern_tc.c/cputick2usec() (which is used to calculate cputime from 2022-03-21 09:33:46 -04:00
kvm_read.3 Document 7f911abe's new functions came in 11.0 2021-12-15 16:18:59 -08:00
kvm_riscv.h
kvm_vnet.c
kvm.3 Document 7f911abe's new functions came in 11.0 2021-12-15 16:18:59 -08:00
kvm.c libkvm: Refine the previous commit (645eaa2cca) 2021-03-03 18:50:45 -05:00
kvm.h
Makefile libkvm: Remove mips support 2021-12-30 20:57:24 -07:00
Makefile.depend