count_seconds ( : : : Seconds )

Elapsed processing time since the last call of count_seconds.

The operator count_seconds helps to measure the runtime. The first call of the procedure normally returns a zero. Each further call returns the processing time which has elapsed in the meantime in seconds. The method by which the time is measured can be set with set_system('clock_mode',...).


Attention

The time measurement is not exact and depends on the load of the computer.


Parameters

Seconds (output_control)
real -> real
Processtime since the program start.


Example
count_seconds(:::Start) >
/* program segment to be measured */
count_seconds(:::End) >
eval(::End - Start:RunTime).

Result

The operator count_seconds always returns the value 2 (H_MSG_TRUE).


Parallelization Information

count_seconds is reentrant and processed without parallelization.


See also

set_system


Module

System



Copyright © 1996-2005 MVTec Software GmbH