TACL Reference Manual
Built-In Functions and Variables
HP NonStop TACL Reference Manual—429513-018
9-78
#CONVERTPROCESSTIME Built-In Function
#CONVERTPROCESSTIME Built-In Function
Use #CONVERTPROCESSTIME to convert the time value obtained by the
PROCESSTIME option of #PROCESSINFO.
process-time
is a numeric expression representing a CPU time.
Result
#CONVERTPROCESSTIME returns a space-separated list of the equivalent number
of hours, minutes, seconds, milliseconds, and microseconds in the process-time
argument.
Example
Assuming #INFORMAT is set to TACL, this example converts the value (in
microseconds) obtained by the PROCESSTIME option of #PROCESSINFO:
19> #OUTPUT [#CONVERTPROCESSTIME [#PROCESSINFO
/PROCESSTIME/]]
0 0 4 122 58
#CONVERTPROCESSTIME process-time