diff options
| author | Christoph Berg <myon@debian.org> | 2021-02-03 22:55:29 +0100 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2021-02-03 22:55:29 +0100 |
| commit | 55305a51ab218d83b04c669d2d4802c08b9bfd22 (patch) | |
| tree | ea207dc64335f601eb64815cb20ca767cb7b302f /lib/timer_impl.f90 | |
| parent | 40574b7e2351202c19ca28e5f133511878d7ac3f (diff) | |
| parent | 1c4a8c9374cacfc002e47c8e3bb824e82aa8441c (diff) | |
Update upstream source from tag 'upstream/2.4.0_rc1+repack'
Update to upstream version '2.4.0~rc1+repack'
with Debian dir 0eeb5347725d90ba31891461bba2ac808f205c0b
Diffstat (limited to 'lib/timer_impl.f90')
| -rw-r--r-- | lib/timer_impl.f90 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/timer_impl.f90 b/lib/timer_impl.f90 index 4e35162c..221db9e0 100644 --- a/lib/timer_impl.f90 +++ b/lib/timer_impl.f90 @@ -6,6 +6,7 @@ module timer_impl public :: init_timer, fini_timer integer, public :: limtrace=0 +! integer, public :: limtrace=10000000 private @@ -146,8 +147,11 @@ contains endif ntrace=ntrace+1 - if(ntrace.lt.limtrace) write(lu,1020) ntrace,tname,k,level,nparent(n) -1020 format(i8,': ',a8,3i5) + tname='TopLevel' + if(nparent(n).ge.1 .and. nparent(n).le.MAXCALL) tname=name(nparent(n)) + if(ntrace.lt.limtrace) write(lu,1020) ntrace,dname,k,level,nparent(n),tname +1020 format(i8,': ',a8,3i5,2x,a8) + flush(lu) go to 998 ! Write out the timer statistics |
