CPU [ HP Business BASIC/XL Reference Manual ] MPE/iX 5.0 Documentation
HP Business BASIC/XL Reference Manual
CPU
If called from within either an interpreted or compiled program, the CPU
function returns the number of CPU seconds elapsed since the beginning of
program execution.
If typed directly in response to the interpreter prompt, the CPU function
returns the total number of CPU seconds required for the execution of the
last previous program to execute in the interpreter.
The result of this function is a REAL number.
Syntax
CPU
Examples
100 Cpu_time = CPU
110 PRINT "CPU time is: " ; CPU
>
The above example returns a REAL value that contains the elapsed CPU
time.
MPE/iX 5.0 Documentation