Octopus
walltimer.F90 File Reference

Go to the source code of this file.

Modules

module  walltimer_oct_m
 This module provices a simple timer class which can be used to trigger the writing of a restart file before the requested CPU time is up.
 

Functions/Subroutines

subroutine, public walltimer_oct_m::walltimer_init (auto)
 initialize the timer More...
 
subroutine, public walltimer_oct_m::walltimer_end ()
 destructor More...
 
subroutine walltimer_oct_m::set_alarm (time)
 set alarm interval in seconds More...
 
subroutine walltimer_oct_m::set_restart_alarm (time)
 set restart alarm interval in seconds More...
 
subroutine walltimer_oct_m::set_margin (time)
 set safty margin in seconds More...
 
subroutine walltimer_oct_m::start ()
 start the timer (save starting time) More...
 
subroutine, public walltimer_oct_m::walltimer_tap (print)
 measure time of one iteration More...
 
logical function, public walltimer_oct_m::walltimer_alarm (comm, print)
 indicate whether time is up More...
 
logical function, public walltimer_oct_m::restart_walltime_period_alarm (comm)
 

Variables

real(real64) walltimer_oct_m::start_time
 time the timer was started More...
 
real(real64) walltimer_oct_m::last_tap
 time of the last call to tap() More...
 
real(real64) walltimer_oct_m::iteration_time
 time difference of two calls to tap() More...
 
real(real64) walltimer_oct_m::margin
 additional time margin for writing the restart file More...
 
real(real64) walltimer_oct_m::duration
 time when the alarm should trigger More...
 
real(real64) walltimer_oct_m::restart_last_tap
 time of the last call for restart More...
 
real(real64) walltimer_oct_m::restart_duration
 time period to restart (trigger writing restart file) More...
 
logical walltimer_oct_m::active
 if .false. the timer will not issue an alarm. More...
 
logical walltimer_oct_m::auto_tap
 if .true., tap() is automatically called in every wakeUp() call. More...
 
logical walltimer_oct_m::restart_active
 if .false. the timer will not issue an alarm for the restart period timer More...