Go to the documentation of this file.
47 integer (SCRIP_i4),
parameter ::
50 integer (SCRIP_i4),
save ::
53 integer (SCRIP_i4),
dimension(max_timers),
save ::
60 real (
scrip_r4),
dimension(max_timers),
save ::
63 character (len=8),
dimension(max_timers),
save ::
88 integer (SCRIP_i4),
intent(in) ::
93 if (
status(timer) .eq.
'running')
then
118 integer (SCRIP_i4),
intent(in) ::
147 integer (SCRIP_i4),
intent(in) ::
161 if (
status(timer) .eq.
'stopped')
then
189 integer (SCRIP_i4),
intent(in) ::
199 if (
status(timer) .eq.
'stopped')
then
200 write(*,
"(' CPU time for timer',i3,':',1p,e16.8)")
204 write(*,
"(' CPU time for timer',i3,':',1p,e16.8)")
229 integer (SCRIP_i4),
intent(in) ::
238 if (
status(timer) .eq.
'stopped')
then
239 call system_clock(count=
cycles1(timer))
263 integer (SCRIP_i4),
intent(in) ::
268 if (
status(timer) .eq.
'running')
then
274 call system_clock(count=
cycles2(timer))
311 integer (SCRIP_i4) :: cycles
330 call system_clock(count_rate=cycles, count_max=
cycles_max)
332 if (cycles /= 0)
then
336 print *,
'--- No system clock available ---'
real(scrip_r4) function timer_get(timer)
real(scrip_r4), dimension(max_timers), save cputime
subroutine timer_start(timer)
real(scrip_r4), save clock_rate
integer(scrip_i4), parameter max_timers
subroutine timer_print(timer)
subroutine timer_check(timer)
integer(scrip_i4), save cycles_max
character(len=8), dimension(max_timers), save status
integer(scrip_i4), dimension(max_timers), save cycles2
subroutine timer_clear(timer)
integer, parameter, public scrip_r4
integer(scrip_i4), dimension(max_timers), save cycles1
subroutine timer_stop(timer)