-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
usb: device: gs_usb: make capturing hardware timestamp on sof optional
Make the capturing of hardware timestamps on USB Start of Frame (SoF) events optional and disable it by default. Capturing the hardware timestamp on SoF improves the accuracy of the time synchronization between the USB host and the device (in the range of ~110 to 20 microseconds depending on the board according to my measurements), but comes with a cost of much higher CPU load. This does not affect the relative timestamping of CAN RX/TX frames, only their absolute timestamp as compared to the USB host time. Signed-off-by: Henrik Brix Andersen <[email protected]>
- Loading branch information
1 parent
4ca426d
commit 92db3f3
Showing
5 changed files
with
47 additions
and
11 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
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