Debian Codegraph @

packages/seacas/libraries/mapvarlib/debug.f

raw
1 C Copyright(C) 1999-2020 National Technology & Engineering Solutions
2 C of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
3 C NTESS, the U.S. Government retains certain rights in this software.
4 C
5 C See packages/seacas/LICENSE for details
6
7 subroutine debug(routine)
8 character*(*) routine
9
10 include 'tapes.blk'
11 include 'debg.blk'
12
13 data timlast /0.0/
14 save timlast
15
16 if (idebug .le. 0) return
17
18 call excpus(cputim)
19 delta = cputim - timlast
20 timlast = cputim
21 write (nout, 100) routine, cputim, delta
22 write (ntpout, 100) routine, cputim, delta
23 100 format(5x,'Entering Routine: ',A,' at time ', 1pe10.3,
24 $ ', delta = ', 1pe10.3)
25 end