[PATCH v2 0/2] Improve TSC frequency accuracy on Linux
Isaac Boukris
iboukris at gmail.com
Tue Oct 1 00:08:30 CEST 2024
Changes in V2:
- changed rounding to 100KHz which should be pretty safe.
- limited the tsc_known_freq flag check to x86 arch.
Isaac Boukris (2):
timer/linux: lower rounding of tsc estimation to 100KHz
timer/linux/x86: override TSC freq if no tsc_known_freq
lib/eal/common/eal_common_timer.c | 3 +-
lib/eal/common/eal_private.h | 2 +-
lib/eal/freebsd/eal_timer.c | 5 ++-
lib/eal/linux/eal_timer.c | 56 ++++++++++++++++++++++++++++---
lib/eal/windows/eal_timer.c | 5 ++-
5 files changed, 61 insertions(+), 10 deletions(-)
--
2.45.0
More information about the dev
mailing list