[PATCH v4 0/2] Improve TSC frequency accuracy
Isaac Boukris
iboukris at gmail.com
Wed Oct 2 18:56:34 CEST 2024
Changes in V4:
- lower ronding on Windows too
- on freebsd prefer system tsc_hz
Isaac Boukris (2):
timer: lower rounding of TSC estimation to 100KHz
timer: allow platform to override cpu TSC frequency
lib/eal/common/eal_common_timer.c | 3 +-
lib/eal/common/eal_private.h | 2 +-
lib/eal/freebsd/eal_timer.c | 8 +++--
lib/eal/linux/eal_timer.c | 59 +++++++++++++++++++++++++++----
lib/eal/windows/eal_timer.c | 11 +++---
5 files changed, 68 insertions(+), 15 deletions(-)
--
2.45.0
More information about the dev
mailing list