Functions |
void | OSAPI_NtpTime_from_millisec (struct OSAPI_NtpTime *const time, RTI_INT32 s, RTI_UINT32 msec) |
| Macro to convert from seconds and milliseconds to struct OSAPI_NtpTime format.
|
void | OSAPI_NtpTime_to_millisec (RTI_INT32 *const s, RTI_UINT32 *const msec, const struct OSAPI_NtpTime *const time) |
| Macro to convert from struct OSAPI_NtpTime to seconds and milliseconds.
|
void | OSAPI_NtpTime_from_microsec (struct OSAPI_NtpTime *const time, RTI_INT32 s, RTI_UINT32 usec) |
| Macro to convert from seconds and microseconds to struct OSAPI_NtpTime format.
|
void | OSAPI_NtpTime_to_microsec (RTI_INT32 *const s, RTI_UINT32 *const usec, const struct OSAPI_NtpTime *const time) |
| Macro to convert from struct OSAPI_NtpTime to seconds and microseconds.
|
void | OSAPI_NtpTime_from_nanosec (struct OSAPI_NtpTime *const time, RTI_INT32 s, RTI_UINT32 nsec) |
| Macro to convert from seconds and nanoseconds to struct OSAPI_NtpTime format.
|
void | OSAPI_NtpTime_to_nanosec (RTI_INT32 *const s, RTI_UINT32 *const nsec, const struct OSAPI_NtpTime *const time) |
| Macro to convert from struct OSAPI_NtpTime to seconds and nanoseconds.
|
RTI_BOOL | OSAPI_NtpTime_is_infinite (const struct OSAPI_NtpTime *const time) |
void | OSAPI_NtpTime_subtract (struct OSAPI_NtpTime *const answer, const struct OSAPI_NtpTime *const t1, const struct OSAPI_NtpTime *const t2) |
| answer = t1 - t2.
|
RTI_INT32 | OSAPI_NtpTime_compare (const struct OSAPI_NtpTime *time1, const struct OSAPI_NtpTime *time2) |
| Compare two NTP structures.
|
Time API definition.
This file implements function to convert between the NtpTime format and other formats.