Symptom
Timestamps in show output are not in sync with system time on a XR router.
Conditions
This can happen when system time changes after the processes started (e.g. xtc_agent, pce_server)
Workaround
Restart the processes will result in reinitializing the base timestamp will fix the issue.
Further Problem Description
This happens due to an issue in "mpls-lib". "mpls-lib" stores a base timestamp at initialization time. Then this library fetches and uses fast time stamping mechanism to return timestamps for events relative to base timestamp. When printing these events, this base timestamp is used. When a system time change occurs, this library's base timestamp is not updated which leads to a delta/difference in component's timestamps than the real system time. Primarily, this issue can effect all component's using "mpls-lib" timestamping module.