<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Ian,<div>   You are thinking about “clunks”. Below is a nice article from a VMS wiki.</div><div>Best,</div><div>Mark</div><div><br></div><div><h3 class="in-block" style="margin: 0px; padding: 0.5em 0px; border: 0px; font-stretch: inherit; line-height: 1.3; vertical-align: baseline; background-image: none; word-wrap: break-word; word-break: break-word; display: table;"><span class="mw-headline" id="Timekeeping" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant-caps: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: middle; background-image: none; display: table-cell; width: 604.8125px;"><span style="font-size: 19px; background-color: rgba(255, 255, 255, 0);">Timekeeping</span></span><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant-caps: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: middle; background-image: none; display: table-cell;"><a href="https://en.m.wikipedia.org/w/index.php?title=OpenVMS&action=edit&section=10" title="Edit section: Timekeeping" data-section="10" class="mw-ui-icon mw-ui-icon-element mw-ui-icon-minerva-edit-enabled edit-page" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant-caps: inherit; font-weight: inherit; font-stretch: inherit; line-height: 1.5em; vertical-align: baseline; background-image: none; text-decoration: none; position: relative; min-height: 1.5em; min-width: 3.5em; text-indent: -999px; overflow: hidden; width: 3.5em; max-width: 3.5em; display: inline-block; caret-color: rgb(0, 0, 0); font-size: 19px; background-color: rgba(255, 255, 255, 0);"><font color="#000000">Edit</font></a></span></h3><p style="margin: 0.5em 0px 1em; padding: 0px; border: 0px; font-stretch: inherit; line-height: inherit; vertical-align: baseline; background-image: none;"><span style="background-color: rgba(255, 255, 255, 0);">OpenVMS represents <a href="https://en.m.wikipedia.org/wiki/System_time" title="System time" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant-caps: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; background-image: none; text-decoration: none;">system time</a> as the 64-bit number of 100 <a href="https://en.m.wikipedia.org/wiki/Nanosecond" title="Nanosecond" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant-caps: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; background-image: none; text-decoration: none;">nanosecond</a> intervals (that is, ten million units per second; also known as a 'clunk'<sup id="cite_ref-52" class="reference" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant-caps: inherit; font-stretch: inherit; line-height: 1; background-image: none; unicode-bidi: isolate;"><a href="https://en.m.wikipedia.org/wiki/VAX/VMS#cite_note-52" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant-caps: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; background-image: none; text-decoration: none;">[52]</a></sup><sup id="cite_ref-53" class="reference" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant-caps: inherit; font-stretch: inherit; line-height: 1; background-image: none; unicode-bidi: isolate;"><a href="https://en.m.wikipedia.org/wiki/VAX/VMS#cite_note-53" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant-caps: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; background-image: none; text-decoration: none;">[53]</a></sup>) since the <a href="https://en.m.wikipedia.org/wiki/Epoch_(reference_date)" title="Epoch (reference date)" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant-caps: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; background-image: none; text-decoration: none;">epoch</a>. The epoch of OpenVMS is midnight preceding November 17, 1858, which is the start of Modified <a href="https://en.m.wikipedia.org/wiki/Julian_day" title="Julian day" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant-caps: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; background-image: none; text-decoration: none;">Julian Day</a> numbering. The clock is not necessarily updated every 100 ns; for example, systems with a 100 Hz interval timer simply add 100000 to the value every hundredth of a second. The operating system includes a mechanism to adjust for hardware timekeeping drift; when calibrated against a known time standard, it easily achieves an accuracy better than 0.01%. All OpenVMS hardware platforms derive timekeeping from an internal clock not associated with the AC supply power frequency.</span></p><p style="margin: 0.5em 0px 1em; padding: 0px; border: 0px; font-stretch: inherit; line-height: inherit; vertical-align: baseline; background-image: none;"><span style="background-color: rgba(255, 255, 255, 0);">While the system is shut down, time is kept by a Time-of-Year ("TOY") hardware clock. This clock keeps time to a lower resolution (perhaps 1 second) and generally, a lower accuracy (often 0.025% versus 0.01%). When the system is restarted, the VMS 64-bit time value is recomputed based on the time kept by the TOY clock and the last recorded year (stored on the system disk).</span></p><p style="margin: 0.5em 0px 1em; padding: 0px; border: 0px; font-stretch: inherit; line-height: inherit; vertical-align: baseline; background-image: none;"><span style="background-color: rgba(255, 255, 255, 0);">The 100 nanosecond granularity implemented within OpenVMS and the 63-bit absolute time representation (the sign bit indicates <span style="margin: 0px; padding: 0px; border: 0px; font-style: italic; font-variant-caps: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; background-image: none;">absolute time</span> when clear and <span style="margin: 0px; padding: 0px; border: 0px; font-style: italic; font-variant-caps: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; background-image: none;">relative time</span> when set) should allow OpenVMS trouble-free time computations up to 31-JUL-31086 02:48:05.47. At this instant, all clocks and time-keeping operations in OpenVMS will suddenly fail, since the counter will overflow and start from zero again.</span></p><p style="margin: 0.5em 0px 1em; padding: 0px; border: 0px; font-stretch: inherit; line-height: inherit; vertical-align: baseline; background-image: none;"><span style="background-color: rgba(255, 255, 255, 0);">Though the native OpenVMS time format can range far into the future, applications based on the C runtime library will likely encounter timekeeping problems beyond January 19, 2038 due to the <a href="https://en.m.wikipedia.org/wiki/Year_2038_problem" title="Year 2038 problem" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant-caps: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; background-image: none; text-decoration: none;">Year 2038 problem</a>. Many components and applications may also encounter field-length-related date problems at year 10000 (see the <a href="https://en.m.wikipedia.org/wiki/Year_10,000_problem" title="Year 10,000 problem" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant-caps: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; background-image: none; text-decoration: none;">Year 10,000 problem</a>).<sup id="cite_ref-54" class="reference" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant-caps: inherit; font-stretch: inherit; line-height: 1; background-image: none; unicode-bidi: isolate;"><a href="https://en.m.wikipedia.org/wiki/VAX/VMS#cite_note-54" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant-caps: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; background-image: none; text-decoration: none;">[54]</a></sup></span></p><br><div id="AppleMailSignature"><br><div>Mark</div></div><div><br>On Apr 23, 2018, at 5:35 PM, Ian McLaughlin <<a href="mailto:ian@platinum.net">ian@platinum.net</a>> wrote:<br><br></div><blockquote type="cite"><div><span>Excuse the noise, but I’ve got a fragmented recollection of a strange unit of time, and my faulty memory seems to equate this with VAX and/or VMS. My google-fu has failed me (or confirmed that this is some sort of fake memory) however I thought I’d run it past the experts in here.</span><br><span></span><br><span>Does anyone know of anything strange about the unit of time, or possibly the epoch, or something else associated with time measurement (or the TOY clock or basically anything to do with time) in the DEC world? Sorry for the vagueness of the question, but hopefully someone can help :)</span><br><span></span><br><span>Ian</span><br><span></span><br></div></blockquote></div></body></html>