aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/interface.ccl
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2006-07-27 16:51:00 +0000
committerErik Schnetter <schnetter@cct.lsu.edu>2006-07-27 16:51:00 +0000
commit83b3e3dee04ae3519160473dd3641323b1038638 (patch)
tree9b16a83da1766ff7a9c619a229c7a4800da41765 /Carpet/Carpet/interface.ccl
parent598a27e9076586ce2cdbcc6c4bde336822c602db (diff)
Carpet: More work on timers
Store physical timing information in grid scalars for easier output. Introduce a parameter "Carpet::silent" to switch off periodic output of the physical timing information. Add detailed timers for Carpet's main evolution loop, using Cactus timers. Their output would usually be written to files. darcs-hash:20060727165144-dae7b-aac1f402b3d23351153dfa8b48ee52a29d05e94e.gz
Diffstat (limited to 'Carpet/Carpet/interface.ccl')
-rw-r--r--Carpet/Carpet/interface.ccl8
1 files changed, 8 insertions, 0 deletions
diff --git a/Carpet/Carpet/interface.ccl b/Carpet/Carpet/interface.ccl
index b5839262d..44f24150b 100644
--- a/Carpet/Carpet/interface.ccl
+++ b/Carpet/Carpet/interface.ccl
@@ -136,3 +136,11 @@ CCTK_INT FUNCTION IO_TruncateOutputFiles \
(CCTK_POINTER_TO_CONST IN GH)
REQUIRES FUNCTION IO_TruncateOutputFiles
+
+
+
+CCTK_REAL timing
+{
+ grid_points_per_second
+ physical_time_per_hour
+} "Timing information"