libptpmgmt  1.4
libptpmgmt library that provides the functionality of linuxptp pmc
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
TimeInterval_t Struct Reference

#include <types.h>

Public Member Functions

float_nanoseconds getInterval () const
 
int64_t getIntervalInt () const
 

Static Public Member Functions

static size_t size ()
 

Public Attributes

Integer64_t scaledNanoseconds
 

Detailed Description

PTP Time interval value

Member Function Documentation

◆ getInterval()

float_nanoseconds TimeInterval_t::getInterval ( ) const
inline

Get interval from time interval in nanoseconds

Returns
scaled time interval in nanoseconds

◆ getIntervalInt()

int64_t TimeInterval_t::getIntervalInt ( ) const

Get interval from time interval in nanoseconds, trunc to integer

Returns
scaled time interval in nanoseconds

◆ size()

static size_t TimeInterval_t::size ( )
inlinestatic

Get object size

Returns
object size

Member Data Documentation

◆ scaledNanoseconds

Integer64_t TimeInterval_t::scaledNanoseconds

nanoseconds * 2^16


The documentation for this struct was generated from the following file: