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

ptp virtual clock #418

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

cmeissl
Copy link

@cmeissl cmeissl commented Feb 23, 2024

On linux we can virtualize a single hardware ptp clock.
One possible use case for this is to synchronize multiple clock domains on the same interface.
As the real hardware clock will be left free running, we need to specify the index of the virtual clock to receive the correct hardware timestamps at socket creation time.

depends on pendulum-project/timestamped-socket#30

Copy link

codecov bot commented Mar 13, 2024

Codecov Report

Attention: Patch coverage is 6.25000% with 15 lines in your changes are missing coverage. Please review.

Project coverage is 62.64%. Comparing base (8fd3820) to head (e78ebac).
Report is 50 commits behind head on main.

Files Patch % Lines
statime-linux/src/socket.rs 0.00% 8 Missing ⚠️
statime-linux/src/main.rs 0.00% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #418      +/-   ##
==========================================
+ Coverage   62.05%   62.64%   +0.58%     
==========================================
  Files          55       62       +7     
  Lines        6903     7677     +774     
==========================================
+ Hits         4284     4809     +525     
- Misses       2619     2868     +249     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@davidv1992
Copy link
Member

@cmeissl we have merged a slightly different approach to supporting this in statime in PR #457. Does that approach work for you?

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