Skip to content

updated timestamp refinement based on hw time - #68

Merged
lasch merged 4 commits into
mainfrom
hw_ts_refine
Jan 16, 2026
Merged

lasch merged 4 commits into
mainfrom
hw_ts_refine

Conversation

@lasch

@lasch lasch commented Nov 26, 2025

Copy link
Copy Markdown
Member

This is a tricky one.
The existing timestamp refinement of flex traces based on the hw cycles is rigid and anchors every event on the TS5 timestamp. This has caused some rare issues if the initial ts is too close to 0 and can push the start of events into negative numbers.

This PR introduces more dynamic anchoring based on the type of event.

@yuhaohaoyu please take a closer look at this because this touches a space that we've been discussing more than once in the past.

lasch added 3 commits January 8, 2026 11:31
Signed-off-by: Lars Schneidenbach <schneidenbach@us.ibm.com>
Signed-off-by: Lars Schneidenbach <schneidenbach@us.ibm.com>
Signed-off-by: Lars Schneidenbach <schneidenbach@us.ibm.com>
Signed-off-by: Lars Schneidenbach <schneidenbach@us.ibm.com>

@yuhaohaoyu yuhaohaoyu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and clear

@lasch
lasch merged commit 2322e6e into main Jan 16, 2026
2 checks passed
@lasch
lasch deleted the hw_ts_refine branch January 16, 2026 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants