Herror ::count_seconds (
    double *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 C-function "clock'" is used for the measurement.


Attention

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


Parameters

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


Example
count_seconds(&Start);
/* aktion to be measured */
count_seconds(&End);
printf("RunTime = %g\n",End-Start);

Result

The operator ::count_seconds always returns the value H_MSG_TRUE.


Module

System



Copyright © 1996-2002 MVTec Software GmbH