In many cases, reliance on system time (via. NTP) can be entirely acceptable.
However, if a more precise wall clock time is desired, you could investigate
the "NTPD Time Source" section. This allows the system clock to be sync'd
through the EVR, which has much lower jitter than NTP.
I second that.
For the ITER fast controllers, we found that going to the PXIe timing card to read the timestamp is too slow and adds a lot of jitter.
Instead, we're running a PTP daemon that synchronizes the system clock to PTP. This is conceptually similar to what ntpd or chronyd are doing, but PTP allows for a better synchronization.
Result:
- EPICS just reads the system clock and gets a precise, low-jitter time stamp using a fast call.
- IOCs on fast controllers and virtualized not-so-fast hosts run exactly the same code. It's the system clock below that is better on a fast controller with PTP.
Cheers,
~Ralph