I'm wondering which function offers best precision/accuracy for timing on OpenVMS in C.
We have an HP Integrity rx2660 server running OpenVMS V8.3-1H1.
My search so far points to $GETTIM_PREC which offers 100-nano resolution but millisecond accuracy. Does it get any better than this?
regards
From the System Services Reference Manual:
On Integrity servers, $GETTIM_PREC returns the system time after accounting for the time elapsed since the last one millisecond update of the system time.
On Alpha, this service is equivalent to $GETTIM service and just returns the last updated system time. The successful completion status of the service on ALPHA is SS$_LOWPREC.
So on Integrity it may be better than 1ms accuracy, but there doesn't seem to be a commitment to any particular accuracy.
EXE$GL_ABSTIM_TICS
only provided accuracy to 10ms. I don't know of any other internal values that are more accurate and haven't stumbled across an IDSM for V8.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With