feat(udpscope): producer-clock calibration and hrt tick-rate fit
Adds TimeBase.h/cpp with ClockOffset (latched wall-clock offset with one-sided recalibration on positive drift only, so early-arriving packets do not wobble the trace) and HrtRateFit (sliding-window OLS that recovers an unknown hrt tick rate from receive timestamps). Also adds TimeSignalScale() which maps UDPS type codes to seconds-per-count. 9 new tests, all 28 pass. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
ea9689591d
commit
41ab151a2f
@@ -82,6 +82,7 @@ endif()
|
||||
set(CORE_SOURCES
|
||||
Decimate.cpp
|
||||
PaneTree.cpp
|
||||
TimeBase.cpp
|
||||
)
|
||||
|
||||
add_library(udpscope_core STATIC ${CORE_SOURCES})
|
||||
|
||||
Reference in New Issue
Block a user