From 2f54810c8c9450e7c4d7e00f6beb97759f20c179 Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Mon, 31 Jul 2006 15:26:00 +0000 Subject: CarpetLib: Extend timing statistics Add timers for the new communication infrastructure. Enhance the timers to also track the minimum and maximum time spent. Add a parameter to output timing information to files. darcs-hash:20060731152618-dae7b-1d049b2b37397610c14648078fd0ee92f252ca2a.gz --- Carpet/CarpetLib/param.ccl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Carpet/CarpetLib/param.ccl') diff --git a/Carpet/CarpetLib/param.ccl b/Carpet/CarpetLib/param.ccl index c21fa38f1..54501823e 100644 --- a/Carpet/CarpetLib/param.ccl +++ b/Carpet/CarpetLib/param.ccl @@ -35,6 +35,12 @@ BOOLEAN print_timestats "Print timing statistics at every iteration" STEERABLE=a { } "no" +INT print_timestats_every "Print timing statistics periodically" STEERABLE=always +{ + 0 :: "don't report" + 1:* :: "report every so many iterations" +} 0 + BOOLEAN save_memory_during_regridding "Save some memory during regridding at the expense of speed" STEERABLE=always { } "yes" -- cgit v1.2.3