You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
741 B
26 lines
741 B
2 years ago
|
C Copyright(C) 1999-2020 National Technology & Engineering Solutions
|
||
|
C of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
|
||
|
C NTESS, the U.S. Government retains certain rights in this software.
|
||
|
C
|
||
|
C See packages/seacas/LICENSE for details
|
||
|
|
||
|
subroutine debug(routine)
|
||
|
character*(*) routine
|
||
|
|
||
|
include 'tapes.blk'
|
||
|
include 'debg.blk'
|
||
|
|
||
|
data timlast /0.0/
|
||
|
save timlast
|
||
|
|
||
|
if (idebug .le. 0) return
|
||
|
|
||
|
call excpus(cputim)
|
||
|
delta = cputim - timlast
|
||
|
timlast = cputim
|
||
|
write (nout, 100) routine, cputim, delta
|
||
|
write (ntpout, 100) routine, cputim, delta
|
||
|
100 format(5x,'Entering Routine: ',A,' at time ', 1pe10.3,
|
||
|
$ ', delta = ', 1pe10.3)
|
||
|
end
|