ParaMonte Fortran 2.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation.
pm_timer.F90 File Reference

Go to the source code of this file.

Data Types

interface  pm_timer::getTime_proc
 This is the abstract interface of the setTime static type-bound procedure component of timer_type abstract type that performs the timing since a user-specified or a processor-dependent origin. More...
 
interface  pm_timer::setIdle_proc
 This is the abstract interface of the wait static type-bound procedure component of timer_type abstract type that keeps the system waiting for the specified amount of seconds.
More...
 
interface  pm_timer::timer_type
 This is the abstract base derived type that serves as a simple container template for other timer classes in the ParaMonte library. More...
 
interface  pm_timer::timerCPU_type
 This is the timerCPU_type class, containing attributes and static methods for setting up a timer based on the CPU-clock, using the Fortran intrinsic cpu_time(). More...
 
interface  pm_timer::timerDAT_type
 This is the timerDAT_type class, containing attributes and static methods for setting up a timer based on the system-clock, using the Fortran intrinsic date_and_time(). More...
 
interface  pm_timer::timerMPI_type
 This is the timerMPI_type class, containing attributes and static methods for setting up a timer based on the MPI intrinsic MPI_Wtime(). More...
 
interface  pm_timer::timerOMP_type
 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...
 
interface  pm_timer::timerSYS_type
 This is the timerSYS_type class, containing attributes and static methods for setting up a timer based on the system-clock, using the Fortran intrinsic system_clock(). More...
 

Modules

module  pm_timer
 This module contains the timer procedures and derived types to facilitate timing applications at runtime.

 

Functions/Subroutines

type(timerMPI_type) type(timerOMP_type) type(timerSYS_type) function pm_timer::timer_typer ()
 This is the constructor of the timer_type class.
More...
 
type(timerCPU_type) function pm_timer::timerCPU_typer ()
 This is the constructor of the timerCPU_type class.
More...
 
type(timerDAT_type) function pm_timer::timerDAT_typer ()
 This is the constructor of the timerDAT_type class.
More...
 
type(timerMPI_type) function pm_timer::timerMPI_typer ()
 This is the constructor of the timerMPI_type class.
More...
 
type(timerOMP_type) function pm_timer::timerOMP_typer ()
 This is the constructor of the timerOMP_type class.
More...
 
type(timerSYS_type) function pm_timer::timerSYS_typer ()
 This is the constructor of the timerSYS_type class.
More...
 
real(RKD) function pm_timer::getTime (since)
 Generate and return the time in units of seconds since the specified time since or since an arbitrary processor-dependent time. More...
 
real(RKD) function pm_timer::getTimeCPU (since)
 Generate and return the CPU time in units of seconds since the specified time since or since an arbitrary processor-dependent time. More...
 
real(RKD) function pm_timer::getTimeDAT (since)
 Generate and return the calendrical clock time in units of seconds since the specified time since or since the Gregorian calendrical time origin. More...
 
real(RKD) function pm_timer::getTimeMPI (since)
 Generate and return the MPI clock time in units of seconds since the specified time since or since an arbitrary time origin set by the MPI library. More...
 
real(RKD) function pm_timer::getTimeOMP (since)
 Generate and return the OpenMP clock time in units of seconds since the specified time since or since an arbitrary time origin set by the OpenMP library. More...
 
real(RKD) function pm_timer::getTimeSYS (since)
 Generate and return the system clock time in units of seconds since the specified time since or since an arbitrary processor-dependent time origin. More...
 
real(RKD) function pm_timer::getResTimer ()
 Generate and return the time resolution by the build-time default timer of the ParaMonte library as used in timer_type, in units of seconds. More...
 
real(RKD) function pm_timer::getResTimerCPU ()
 Generate and return the time resolution of the Fortran intrinsic cpu_time(), used in timerCPU_type, in units of seconds. More...
 
pure real(RKD) function pm_timer::getResTimerDAT ()
 Generate and return the time resolution of the Fortran intrinsic date_and_time(), used in timerDAT_type, in units of seconds. More...
 
real(RKD) function pm_timer::getResTimerMPI ()
 Generate and return the time resolution of the MPI intrinsic timer, used in timerMPI_type, in units of seconds. More...
 
real(RKD) function pm_timer::getResTimerOMP ()
 Generate and return the time resolution of the OpenMP intrinsic timer, used in timerOMP_type, in units of seconds. More...
 
real(RKD) function pm_timer::getResTimerSYS ()
 Generate and return the time resolution of the Fortran intrinsic system_clock(), used in timerSYS_type, in units of seconds. More...
 
subroutine pm_timer::setIdle (seconds)
 Set the processor in sleep mode for the input requested number of seconds via the default timer of the ParaMonte library. More...
 
subroutine pm_timer::setIdleCPU (seconds)
 Set the processor in sleep mode for the input requested number of seconds via the Fortran intrinsic cpu_time(). More...
 
subroutine pm_timer::setIdleDAT (seconds)
 Set the processor in sleep mode for the input requested number of seconds via the Fortran intrinsic date_and_time(). More...
 
subroutine pm_timer::setIdleMPI (seconds)
 Set the processor in sleep mode for the input requested number of seconds via the MPI intrinsic timer MPI_Wtime(). More...
 
subroutine pm_timer::setIdleOMP (seconds)
 Set the processor in sleep mode for the input requested number of seconds via the OpenMP intrinsic timer omp_get_wtime(). More...
 
subroutine pm_timer::setIdleSYS (seconds)
 Set the processor in sleep mode for the input requested number of seconds via the Fortran intrinsic system_clock(). More...
 

Variables

character(*, SK), parameter pm_timer::MODULE_NAME = "@pm_timer"