Previous: omp_get_wtick, Up: Runtime Library Routines


2.40 omp_get_wtime – Elapsed wall clock time

Description:
Elapsed wall clock time in seconds. The time is measured per thread, no guarantee can be made that two distinct threads measure the same time. Time is measured from some "time in the past", which is an arbitrary time guaranteed not to change during the execution of the program.
C/C++:

Prototype: double omp_get_wtime(void);

Fortran:

Interface: double precision function omp_get_wtime()

See also:
omp_get_wtick
Reference:
OpenMP specification v4.0, Section 3.4.1.