Product: ACUCOBOL-GT
Module: Compiler/Runtime
Machines Affected: All
Known Versions Affected: All
A new intrinsic function has been introduced, INTERVAL-TIMER, that is suitable for measuring short time intervals with comparatively high precision. It can be useful in cases where ACCEPT FROM TIME does not report enough resolution.
The function takes no parameters, and returns a value of some number of seconds starting from an arbitrary point. Typically, you will want to use the function twice or more in order to take differences between the return values in order to time an interval.
Another potential use would be to get a higher-resolution timestamp to distinguish items with identical keys.
Refer to Appendix F Intrinsic Functions for full syntactical details and notes of the function.