Kernel 8.0 APIs Banner
Office of Information and Technology (OIT) Banner
[skip navigation]

$$ETIMEMS^XLFSHAN(): Return Elapsed Time in Milliseconds

Reference Type: Supported, Category: Operating System Interface, ICR#: 6157

Description

The $$ETIMEMS^XLFSHAN extrinsic function calculates the elapsed time in milliseconds. It is intended to be used with $$CPUTIME^XLFSHAN API to evaluate the performance of a process.

NOTE: This API was released with Kernel Patch XU*8.0*657.

Format

  $$ETIMEMS^XLFSHAN(start,end)

Input Parameters

start:

(required) The starting CPU time; set by calling the $$CPUTIME^XLFSHAN API.

end: (required) The ending CPU time; set by calling the $$CPUTIME^XLFSHAN API.

Output

returns:

The value returned is elapsed time measured as milliseconds of CPU time.