![]() |
ParaMonte Fortran 2.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation. |
This is the timerMPI_type
class, containing attributes and static methods for setting up a timer based on the OpenMP intrinsic omp_get_wtime()
.
More...
Public Member Functions | |
procedure, nopass | time => getTimeOMP |
See getTime_proc. More... | |
procedure, nopass | wait => setIdleOMP |
See setIdle_proc. More... | |
type(timerOMP_type) function | timerOMP_typer () |
This is the constructor of the timerOMP_type class. More... | |
![]() | |
procedure(getTime_proc), deferred, nopass | time |
See getTime_proc. More... | |
procedure(setIdle_proc), deferred, nopass | wait |
See setIdle_proc. More... | |
type(timerMPI_type) type(timerOMP_type) type(timerSYS_type) function | timer_typer () |
This is the constructor of the timer_type class. More... | |
Additional Inherited Members | |
![]() | |
real(RKD) | start |
The protected scalar real of kind double precision RKD provided as a convenience for the user to contain the start time of the timer since the processor epoch (a processor-dependent past time) in seconds.More... | |
real(RKD) | clock |
The scalar real of kind double precision RKD provided as a convenience for the user to contain the total time in seconds elapsed since the start of the timer.The clock time can be readily can be computed as timer%clock = timer%time(since = timer%start) .More... | |
real(RKD) | delta |
The scalar real of kind double precision RKD provided as a convenience for the user to contain the delta time in seconds since the last timing (last timer call).The delta time can be readily can be computed as timer%delta = timer%time(since = timer%start) - timer%clock where timer%clock is the last clock read as timer%clock = timer%time(since = timer%start) .More... | |
real(RKD) | resol |
The protected scalar real of kind double precision RKD provided as a convenience for the user to contain the time in seconds between the timer clock tics.More... | |
This is the timerMPI_type
class, containing attributes and static methods for setting up a timer based on the OpenMP intrinsic omp_get_wtime()
.
See the documentation of timerOMP_typer for the non-default constructor interface of this type.
See also the documentation details of pm_timer.
Possible calling interfaces ⛓
OMP_ENABLED=1
.
Example usage ⛓
ifort
compiler ⛓ ifort
compiler ⛓ gfortran
compiler ⛓
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.
Definition at line 433 of file pm_timer.F90.
procedure, nopass pm_timer::timerOMP_type::time |
type(timerOMP_type) function pm_timer::timerOMP_type::timerOMP_typer |
This is the constructor of the timerOMP_type class.
Upon return, the constructor initializes all components of the timer object.
See also the documentation details of pm_timer.
Possible calling interfaces ⛓
timer
: The output scalar object of class timerOMP_type.OMP_ENABLED=1
.
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.
Definition at line 752 of file pm_timer.F90.
procedure, nopass pm_timer::timerOMP_type::wait |