NAME

OTIM_start - starts process elapsed and CPU time counters.

SYNOPSIS

call OTIM_start([label])

PARAMETERS

<IN> label : Optional input string that user can introduce to label the section
             of the code to be instrumented.

NOTES

OTIM_start must be called by the master thread.

EXAMPLES

The program below invokes OTIM_start/stop subroutines to time-instrument the call of the "do_multi-threaded_work" routine.

     USE TIM
     ...
     call OTIM_start("OpenMP parallel work")
       !$OMP PARALLEL
       call OTIM_omp_start()
       CALL do_multi-threaded_work(...)
       call OTIM_omp_stop()
       !$OMP END PARALLEL
     call OTIM_stop("OpenMP parallel work")
     ...

SEE ALSO

OTIM_stop, OTIM_omp_start, OTIM_omp_stop.

Back to the routines' list...


Last modified: Thu Nov 18 17:10:15 CET 2004