Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add clock selection when using the userspace timestamp #7

Open
eroussy opened this issue Nov 20, 2024 · 0 comments
Open

Add clock selection when using the userspace timestamp #7

eroussy opened this issue Nov 20, 2024 · 0 comments

Comments

@eroussy
Copy link
Member

eroussy commented Nov 20, 2024

Currently, sv_timestamp_logger can get two different timestamps

  • Hardware timestamp (NIC)
  • Userspace timestamp (clock_gettime)

The second timestamp only get the time on CLOCK_REALTIME.
It is interesting in certain situation to get the time from another clock (ex: ptp clock)

A clock selection must be added in sv_timestamp_logger arguments.

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

No branches or pull requests

1 participant