count_seconds ( : : : Seconds )

Elapsed processing time since the last call of count_seconds.

The operator count_seconds helps to measure time. Each operator call returns a time value. The difference of the values of two successive calls provides the time interval in seconds. The mode of measuring time 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)
Seconds := End - Start

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

Foundation



Copyright © 1996-2008 MVTec Software GmbH