A module to do timings.
More...
|
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.
|
|
◆ printtimer()
subroutine, public timermodule::printtimer |
( |
character(len=*), intent(in) |
timer_name | ) |
|
Print out the elapsed time for a given timer.
- Parameters
-
[in] | timer_name | name 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_name | name 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_name | name 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_name | name of the timer. Must be registered. |