Next: , Previous: , Up: OpenMP Runtime Library Routines   [Contents][Index]

3.48 omp_get_wtime – Elapsed wall clock time


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.

Prototype:double omp_get_wtime(void);
Interface:double precision function omp_get_wtime()
See also:

omp_get_wtick – Get timer precision


OpenMP specification v4.5, Section 3.4.1.