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. Basically this adds a timer with that name to the dictionary. 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.
 
subroutine, public printalltimersdistributed ()
 Print out the elapsed time for each timer.
 

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. Basically this adds a timer with that name to the dictionary.

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.