GBS
timer_mod Module Reference

Functions/Subroutines

subroutine timer_setup
 Initialize all the timers. More...
 
integer function timer_addtimer (title)
 Add a new timer. More...
 
subroutine timer_cleanup
 Do nothing... More...
 
subroutine timer_update_master
 Get current time. More...
 
subroutine timer_start (i)
 Start ith timer. More...
 
subroutine timer_stop (i)
 Stop ith timer. More...
 
subroutine timer_reset (i)
 Reset ith timer. More...
 
subroutine timer_dump (i)
 Print ith timer. More...
 
subroutine timer_dump_all
 Print all the timers. More...
 
subroutine timers (choice)
 Master timing routine. More...
 

Variables

integer, parameter maxclocks = 50
 
integer, parameter timer_error = -1
 
integer nclocks
 
real(dp) master_clock
 
real(dp), dimension(maxclockselapsed_time
 
real(dp), dimension(maxclocksstart_time
 
character(len=80), dimension(maxclockstitle_string
 
logical, dimension(maxclocksclock_running
 
integer, save id_timer_bc
 
integer, save id_timer_poisson_phi
 
integer, save id_timer_poisson_psi
 
integer, save id_timer_auxfield
 
integer, save id_timer_eqrhs
 
integer, save id_timer_advance
 
integer, save id_timer_step
 
integer, save id_timer_checkfield_all
 
integer, save id_timer_sources
 

Function/Subroutine Documentation

◆ timer_addtimer()

integer function timer_mod::timer_addtimer ( character(len=*)  title)

Add a new timer.

+ Here is the caller graph for this function:

◆ timer_cleanup()

subroutine timer_mod::timer_cleanup

Do nothing...

+ Here is the caller graph for this function:

◆ timer_dump()

subroutine timer_mod::timer_dump ( integer, intent(in)  i)

Print ith timer.

◆ timer_dump_all()

subroutine timer_mod::timer_dump_all

Print all the timers.

+ Here is the caller graph for this function:

◆ timer_reset()

subroutine timer_mod::timer_reset ( integer, intent(in)  i)

Reset ith timer.

+ Here is the call graph for this function:

◆ timer_setup()

subroutine timer_mod::timer_setup

Initialize all the timers.

+ Here is the caller graph for this function:

◆ timer_start()

subroutine timer_mod::timer_start ( integer, intent(in)  i)

Start ith timer.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ timer_stop()

subroutine timer_mod::timer_stop ( integer, intent(in)  i)

Stop ith timer.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ timer_update_master()

subroutine timer_mod::timer_update_master

Get current time.

+ Here is the caller graph for this function:

◆ timers()

subroutine timer_mod::timers ( character, intent(in)  choice)

Master timing routine.

Parameters
[in]choiceInitialize timers (i) or finalize them (f)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ clock_running

logical, dimension(maxclocks) timer_mod::clock_running

◆ elapsed_time

real(dp), dimension(maxclocks) timer_mod::elapsed_time

◆ id_timer_advance

integer, save timer_mod::id_timer_advance

◆ id_timer_auxfield

integer, save timer_mod::id_timer_auxfield

◆ id_timer_bc

integer, save timer_mod::id_timer_bc

◆ id_timer_checkfield_all

integer, save timer_mod::id_timer_checkfield_all

◆ id_timer_eqrhs

integer, save timer_mod::id_timer_eqrhs

◆ id_timer_poisson_phi

integer, save timer_mod::id_timer_poisson_phi

◆ id_timer_poisson_psi

integer, save timer_mod::id_timer_poisson_psi

◆ id_timer_sources

integer, save timer_mod::id_timer_sources

◆ id_timer_step

integer, save timer_mod::id_timer_step

◆ master_clock

real(dp) timer_mod::master_clock

◆ maxclocks

integer, parameter timer_mod::maxclocks = 50

◆ nclocks

integer timer_mod::nclocks

◆ start_time

real(dp), dimension(maxclocks) timer_mod::start_time

◆ timer_error

integer, parameter timer_mod::timer_error = -1

◆ title_string

character(len=80), dimension(maxclocks) timer_mod::title_string