Hey All,
Trying to understand how the timestamp is being placed in a record by looking at the ClockTimeReport and the generalTimeReport. I also have been exploring using our NTP server with the IOC by setting the env variable EPICS_TS_NTP_INET
to the NTP IP. I may be understanding the reports incorrectly but wanted to make sure that without the NTP server at least the IOCs are syncing with the OS (my iocs are running from within a VM). I do have the VM setup to sync with the OS.
How I understand it if no NTP server is around the IOC will grab its timestamp based off the IOC Boot server (OS Clock?). But the ClockTimeReport is showing
epics> ClockTime_Report
Program started at 2021-01-04 12:22:24.937270
OS Clock synchronization thread not running.
But the generalTimeReport seems to match my OS clock
epics> generalTimeReport
Backwards time errors prevented 0 times.
Current Time Providers:
"OS Clock", priority = 999
Current Time is 2021-01-04 12:24:51.784595.
Event Time Providers:
No Providers registered.