|
virtual | ~LinuxTimestamper ()=0 |
|
virtual bool | post_init (int ifindex, int sd, TicketingLock *lock)=0 |
| Provides a generic method for initializing timestamp interfaces. More...
|
|
virtual bool | HWTimestamper_init (InterfaceLabel *iface_label, OSNetworkInterface *iface) |
| Initializes the hardware timestamp unit. More...
|
|
virtual void | HWTimestamper_final (void) |
| This method is called before the object is de-allocated. More...
|
|
virtual bool | HWTimestamper_adjclockrate (float frequency_offset) |
| Adjusts the hardware clock frequency. More...
|
|
virtual bool | HWTimestamper_adjclockphase (int64_t phase_adjust) |
| Adjusts the hardware clock phase. More...
|
|
virtual bool | HWTimestamper_gettime (Timestamp *system_time, Timestamp *device_time, uint32_t *local_clock, uint32_t *nominal_clock_rate)=0 |
| Get the cross timestamping information. The gPTP subsystem uses these samples to calculate ratios which can be used to translate or extrapolate one clock into another clock reference. The gPTP service uses these supplied cross timestamps to perform internal rate estimation and conversion functions. More...
|
|
virtual int | HWTimestamper_txtimestamp (PortIdentity *identity, uint16_t sequenceId, Timestamp ×tamp, unsigned &clock_value, bool last)=0 |
| Gets the tx timestamp from hardware. More...
|
|
virtual int | HWTimestamper_rxtimestamp (PortIdentity *identity, uint16_t sequenceId, Timestamp ×tamp, unsigned &clock_value, bool last)=0 |
| Get rx timestamp. More...
|
|
virtual bool | HWTimestamper_get_extclk_offset (Timestamp *local_time, int64_t *clk_offset, int32_t *ppt_freq_offset) |
| Get external clock offset. More...
|
|
virtual void | HWTimestamper_get_extderror (char *msg) |
| Gets a string with the error from the hardware timestamp block. More...
|
|
virtual bool | HWTimestamper_PPS_start () |
| Starts the PPS (pulse per second) interface. More...
|
|
virtual bool | HWTimestamper_PPS_stop () |
| Stops the PPS (pulse per second) interface. More...
|
|
int | getVersion () |
| Gets the HWTimestamper version. More...
|
|
| HWTimestamper () |
|
LinuxTimestamper: Provides a generic hardware timestamp interface for linux based systems.