aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/schedule.ccl
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@aei.mpg.de>2004-12-30 21:21:00 +0000
committerErik Schnetter <schnetter@aei.mpg.de>2004-12-30 21:21:00 +0000
commitf527714bcb9e2a2c672cee14c7e612a177475309 (patch)
treea061092722eab7d8fd46c7d71c673803a6ba3005 /Carpet/CarpetLib/schedule.ccl
parent191478e48a3c8236e023d4c302145d6b443fc8f2 (diff)
CarpetLib: Collect more timing statistics
Collect more timing statistics in the data class. Print these statistics to stdout when the Cactus parameter print_timestats is set. Create a timer class "timestat". This is a timer that can be started, stopped, and it prints the total time as well as some statistics. For memory allocation statistics, count the number of objects as well as the number of bytes. darcs-hash:20041230212136-891bb-c14edfa7d539ae9b135eee76afadaad51fd0b098.gz
Diffstat (limited to 'Carpet/CarpetLib/schedule.ccl')
-rw-r--r--Carpet/CarpetLib/schedule.ccl6
1 files changed, 6 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/schedule.ccl b/Carpet/CarpetLib/schedule.ccl
index 7c7935593..e102e6f36 100644
--- a/Carpet/CarpetLib/schedule.ccl
+++ b/Carpet/CarpetLib/schedule.ccl
@@ -1,2 +1,8 @@
# Schedule definitions for thorn CarpetLib
# $Header:$
+
+SCHEDULE CarpetLib_printtimestats AT analysis
+{
+ LANG: C
+ OPTIONS: global
+} "Print timing statistics if desired"