-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Lai Peter Jun Ann <[email protected]>
- Loading branch information
Lai Peter Jun Ann
committed
Dec 6, 2024
1 parent
80c8591
commit 4706eff
Showing
10 changed files
with
194 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,8 @@ struct ptp_event { | |
bool as_capable; /* [email protected] Capable */ | ||
bool synced_to_primary_clock; | ||
uint8_t ptp4l_id; | ||
int64_t chrony_offset; | ||
uint64_t chrony_reference_id; | ||
}; | ||
|
||
struct client_ptp_event { | ||
|
@@ -42,6 +44,10 @@ struct client_ptp_event { | |
std::atomic<int> synced_to_gm_event_count{}; | ||
std::atomic<int> gm_changed_event_count{}; | ||
std::atomic<int> composite_event_count{}; | ||
int64_t chrony_offset; | ||
uint64_t chrony_reference_id; | ||
bool chrony_offset_in_range; | ||
std::atomic<int> chrony_offset_in_range_event_count{}; | ||
}; | ||
|
||
__CLKMGR_NAMESPACE_END | ||
|
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