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.
The time measurement is not exact and depends on the load of the computer.
|
Seconds (output_control) |
real -> double * |
| Processtime since the program start. | |
count_seconds(&Start);
/* aktion to be measured */
count_seconds(&End);
printf("RunTime = %g\n",End-Start);The operator ::count_seconds always returns the value H_MSG_TRUE.
System