-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ptpcheck: phc: add clock setting function (#402)
Summary: Pull Request resolved: #402 Enable the `ptpcheck phc` command to set the PTP clock to a given value. The new flag, `-s`, takes a Unix timestamp as an argument, and writes it to the PTP device. The resolution is thus limited to whole seconds, so the clock then requires a more precise tuning – achievable, for example, with the sptp program. Reviewed By: abulimov Differential Revision: D64134612 fbshipit-source-id: 5f89bb96a5539760476a72d11cc24191b6184ab7
- Loading branch information
1 parent
bca0eb8
commit e23b36e
Showing
4 changed files
with
50 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters