aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/param.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CarpetLib/param.ccl')
-rw-r--r--Carpet/CarpetLib/param.ccl13
1 files changed, 12 insertions, 1 deletions
diff --git a/Carpet/CarpetLib/param.ccl b/Carpet/CarpetLib/param.ccl
index a3000fe74..a81275309 100644
--- a/Carpet/CarpetLib/param.ccl
+++ b/Carpet/CarpetLib/param.ccl
@@ -54,7 +54,18 @@ STRING timestat_file "File name in which timestat output is collected (because s
{
"^$" :: "empty filename: no file output"
"^.+$" :: "file name"
-} "carpetlib-time-statistics"
+} "carpetlib-timing-statistics"
+
+KEYWORD timestat_timer "Timer for timing statistics" STEERABLE=recover
+{
+ "MPI_Wtime" :: "MPI_Wtime (expensive; uses system call)"
+ "rdtsc" :: "Intel rdtsc instruction (exists only on Intel CPUs)"
+ "none" :: "don't measure time"
+} "MPI_Wtime"
+
+BOOLEAN timestat_disable "Disable timing statistics" STEERABLE=always
+{
+} "no"