# The PTP guy

## All things time sync and the documentation that never was. @ThePTPGuy

Posts match “ Solaris ptpd sol10 solaris10 mifid ieee1588 legacy dlpi libcck ” tag:

## PTP(d) on legacy systems: Solaris 10 part 1 - how we got there

First is legacy applications, being applications which do not support the capture of timestamps with the required granularity. The problem lies either with their design (simply put, fields, structures and protocols with no room for nanosecond or even microsecond resolution), or with the technology they use (older Java versions for example). Both of these issues can be remedied with some development and migration effort. Another issue is the accuracy and non-uniformity of timestamps retrieved from the operating system - this is not easily fixed, as it is mostly out of the developers' control. In non-virtualised systems, clock_gettime() or even gettimeofday() usually meet the regulatory requirements. I will not discuss their performance here, but that is not to say that they have no effect. For older Java applications, one can use JNI to call these functions, at the cost of even greater call latency.