Name
count_secondscount_secondsCountSecondsCountSeconds — Passed Time.
Herror count_seconds(double* Seconds)
Herror T_count_seconds(Htuple* Seconds)
void CountSeconds(HTuple* Seconds)
static double HSystem::CountSeconds()
The operator count_secondscount_secondsCountSecondsCountSecondsCountSeconds 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',...)set_system("clock_mode",...)SetSystem("clock_mode",...)SetSystem("clock_mode",...)SetSystem("clock_mode",...).
The time measurement is not exact and depends on the load of the computer.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Processtime since the program start.
count_seconds(Start)
* program segment to be measured
count_seconds(End)
Seconds := End - Start
count_seconds(&Start);
/* program segment to be measured */
count_seconds(&End);
printf("RunTime = %g\n",End-Start);
count_seconds(Start)
* program segment to be measured
count_seconds(End)
Seconds := End - Start
count_seconds(Start)
* program segment to be measured
count_seconds(End)
Seconds := End - Start
count_seconds(Start)
* program segment to be measured
count_seconds(End)
Seconds := End - Start
The operator count_secondscount_secondsCountSecondsCountSecondsCountSeconds always returns the value 2 (H_MSG_TRUE).
set_systemset_systemSetSystemSetSystemSetSystem
Foundation