FORCES
FORtran lib for Comp. Env. Sys.
|
Timing routines. More...
Go to the source code of this file.
Modules | |
module | mo_timer |
Timing routines. | |
Functions/Subroutines | |
subroutine, public | mo_timer::timer_check (timer) |
Check a timer. | |
subroutine, public | mo_timer::timer_clear (timer) |
Reset a timer. | |
real(sp) function, public | mo_timer::timer_get (timer) |
Return a timer. | |
subroutine, public | mo_timer::timer_print (timer) |
Print a timer. | |
subroutine, public | mo_timer::timer_start (timer) |
Start a timer. | |
subroutine, public | mo_timer::timer_stop (timer) |
Stop a timer. | |
subroutine, public | mo_timer::timers_init |
Initialise timer module. | |
Variables | |
integer(i4), parameter, public | mo_timer::max_timers = 500 |
max number of timers allowed | |
integer(i4), save, public | mo_timer::cycles_max |
max value of clock allowed by system | |
real(sp), save, public | mo_timer::clock_rate |
clock_rate in seconds for each cycle | |
integer(i4), dimension(max_timers), save, public | mo_timer::cycles1 |
cycle number at start for each timer | |
integer(i4), dimension(max_timers), save, public | mo_timer::cycles2 |
cycle number at stop for each timer | |
real(sp), dimension(max_timers), save, public | mo_timer::cputime |
accumulated cpu time in each timer | |
character(len=8), dimension(max_timers), save, public | mo_timer::status |
timer status string | |
Timing routines.
This module uses F90 cpu time routines to allowing setting of multiple CPU timers.
COPYING
and COPYING.LESSER
provided with this software. The complete GNU license text can also be found at http://www.gnu.org/licenses/. Definition in file mo_timer.f90.