|
clkmgr 2.0
Clock Manager API library to receive events from the PTP service
|
#include <event.h>

Public Member Functions | |
| int64_t | getClockOffset () const |
| bool | isOffsetInRange () const |
| uint32_t | getOffsetInRangeEventCount () const |
| uint64_t | getSyncInterval () const |
| uint64_t | getGmIdentity () const |
| std::string | getGmIdentityStr () const |
| bool | isGmChanged () const |
| uint32_t | getGmChangedEventCount () const |
| uint64_t | getNotificationTimestamp () const |
Provide a set of common attributes and methods for clock synchronization events, as listed below:
| int64_t ClockEventBase::getClockOffset | ( | ) | const |
Get the clock offset in nanosecond
| uint32_t ClockEventBase::getGmChangedEventCount | ( | ) | const |
Get the count of grandmaster changed event
| uint64_t ClockEventBase::getGmIdentity | ( | ) | const |
Get the grandmaster clock identity
| std::string ClockEventBase::getGmIdentityStr | ( | ) | const |
Get the grandmaster clock identity in string format
| uint64_t ClockEventBase::getNotificationTimestamp | ( | ) | const |
Get the notification timestamp in nanosecond
| uint32_t ClockEventBase::getOffsetInRangeEventCount | ( | ) | const |
Get the count of clock offset in-range event
| uint64_t ClockEventBase::getSyncInterval | ( | ) | const |
Get the synchronization interval in microsecond
| bool ClockEventBase::isGmChanged | ( | ) | const |
Check if the grandmaster has changed
| bool ClockEventBase::isOffsetInRange | ( | ) | const |
Check if the clock offset is in-range