NTPoly
Functions/Subroutines
timermodule Module Reference

A module to do timings. More...

Functions/Subroutines

subroutine, public registertimer (timer_name)
 Register a timer with the timer module. Call this before using that timer. More...
 
subroutine, public starttimer (timer_name)
 Start the clock running for a given timer. More...
 
subroutine, public stoptimer (timer_name)
 Stop the clock for a given timer. More...
 
subroutine, public printtimer (timer_name)
 Print out the elapsed time for a given timer. More...
 
subroutine, public printalltimers ()
 Print out the elapsed time for each timer on this process.
 
subroutine, public printalltimersdistributed ()
 Print out the elapsed time for each timer based on the max value across processes.
 

Detailed Description

A module to do timings.

Function/Subroutine Documentation

◆ printtimer()

subroutine, public timermodule::printtimer ( character(len=*), intent(in)  timer_name)

Print out the elapsed time for a given timer.

Parameters
[in]timer_namename of the timer. Must be registered.

◆ registertimer()

subroutine, public timermodule::registertimer ( character(len=*), intent(in)  timer_name)

Register a timer with the timer module. Call this before using that timer.

Parameters
[in]timer_namename of the timer.

◆ starttimer()

subroutine, public timermodule::starttimer ( character(len=*), intent(in)  timer_name)

Start the clock running for a given timer.

Parameters
[in]timer_namename of the timer. Must be registered.

◆ stoptimer()

subroutine, public timermodule::stoptimer ( character(len=*), intent(in)  timer_name)

Stop the clock for a given timer.

Parameters
[in]timer_namename of the timer. Must be registered.