aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/param.ccl
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2007-03-12 16:08:00 +0000
committerErik Schnetter <schnetter@cct.lsu.edu>2007-03-12 16:08:00 +0000
commitc541fddc3f724add906dbae09ca29c157146ad31 (patch)
tree4d96e2f1729a2b356f4621b657afc05e94c0d9c8 /Carpet/CarpetLib/param.ccl
parent054755b50795cd280c10d76a9921860fc3d1aee4 (diff)
CarpetLib: Simplify timer interface
Remove some parameters which are not necessary: CarpetLib::print_timestats CarpetLib::timestat_disable Allow the value -1 as well as 0 to disable output for timers and memory statistics. darcs-hash:20070312160854-dae7b-6c60bf0c64a5cac03da97595bb30bb2b47568165.gz
Diffstat (limited to 'Carpet/CarpetLib/param.ccl')
-rw-r--r--Carpet/CarpetLib/param.ccl11
1 files changed, 3 insertions, 8 deletions
diff --git a/Carpet/CarpetLib/param.ccl b/Carpet/CarpetLib/param.ccl
index 3338690d9..8d83a335f 100644
--- a/Carpet/CarpetLib/param.ccl
+++ b/Carpet/CarpetLib/param.ccl
@@ -44,12 +44,9 @@ CCTK_INT poison_value "Integer value (0..255) used to poison new timelevels (wit
-BOOLEAN print_timestats "Print timing statistics at every iteration" STEERABLE=always
-{
-} "no"
-
INT print_timestats_every "Print timing statistics periodically" STEERABLE=always
{
+ -1 :: "don't report"
0 :: "don't report"
1:* :: "report every so many iterations"
} 0
@@ -68,20 +65,18 @@ KEYWORD timestat_timer "Timer for timing statistics" STEERABLE=recover
"none" :: "don't measure time"
} "none"
-BOOLEAN timestat_disable "Disable timing statistics" STEERABLE=always
-{
-} "no"
-
INT print_memstats_every "Report periodically how much memory is used per process" STEERABLE=always
{
+ -1 :: "don't report"
0 :: "don't report"
1:* :: "report every so many iterations"
} 0
INT max_allowed_memory_MB "Maximum allowed amount of memory per process (in Megabytes)" STEERABLE=always
{
+ -1 :: "no maximum"
0 :: "no maximum"
1:* :: "abort if more memory is used"
} 0