blog:articles:software:lunaclockpub
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
blog:articles:software:lunaclockpub [2024/06/21 13:54] – Phil Ide | blog:articles:software:lunaclockpub [2025/06/22 10:31] (current) – [Uses] Phil Ide | ||
---|---|---|---|
Line 7: | Line 7: | ||
I have decided not to turn the program into an NTP server, since that is non-trivial task. If someone thinks that would be a great idea (I no longer think so), they can take existing NTP code and amend it. | I have decided not to turn the program into an NTP server, since that is non-trivial task. If someone thinks that would be a great idea (I no longer think so), they can take existing NTP code and amend it. | ||
+ | |||
+ | ===== Recent Updates ===== | ||
+ | {{rss> | ||
+ | |||
===== New Philosophy ===== | ===== New Philosophy ===== | ||
Line 23: | Line 27: | ||
===== Uses ===== | ===== Uses ===== | ||
- | For this part of the discussion, | + | For this part of the discussion, |
If there is an experiment that is going to timestamp the results (or the data it has just collected), it grabs a timestamp from its own system clock. This clock has drifted from Earth-UTC due to relativistic effects as a result of the lower gravity. It sends that timestamp to the RPC server which adjusts it so it now represents the same moment in Earth-UTC. | If there is an experiment that is going to timestamp the results (or the data it has just collected), it grabs a timestamp from its own system clock. This clock has drifted from Earth-UTC due to relativistic effects as a result of the lower gravity. It sends that timestamp to the RPC server which adjusts it so it now represents the same moment in Earth-UTC. | ||
Since there is a processing delay while the RPC server adjusts the timestamp, the RPC server cannot be used as a clock with a granularity less than a microsecond. A program that represents a clock (e.g. displaying the time and updating in real-time) must take this into consideration. However, it can make its own adjustments if it notes the turnaround time between requesting the adjusted time and receiving it - but the process of applying the secondary adjustment of the turnaround time is also time expensive. Nonetheless, | Since there is a processing delay while the RPC server adjusts the timestamp, the RPC server cannot be used as a clock with a granularity less than a microsecond. A program that represents a clock (e.g. displaying the time and updating in real-time) must take this into consideration. However, it can make its own adjustments if it notes the turnaround time between requesting the adjusted time and receiving it - but the process of applying the secondary adjustment of the turnaround time is also time expensive. Nonetheless, | ||
+ | |||
+ | ~~socialite~~ | ||
+ | ~~DISCUSSION~~ | ||
+ |
blog/articles/software/lunaclockpub.1718978091.txt.gz · Last modified: by Phil Ide