From ad9094cdc37a89c1e9b0fefa2bf9800727a70ed4 Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Mon, 12 Mar 2007 16:15:00 +0000 Subject: Carpet: Simplify timer interface Remove parameter parameters Carpet::silent, which was inconvenient to use. Do not output timing statistics by default. Allow parameter values -1 in addition to 0 to disable timing output. Place the timing statistics into the grid scalars even if timing output is disabled. darcs-hash:20070312161517-dae7b-77a7d21f37179962beae2f544e7ee6a174c45508.gz --- Carpet/Carpet/src/Evolve.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Carpet/Carpet/src/Evolve.cc') diff --git a/Carpet/Carpet/src/Evolve.cc b/Carpet/Carpet/src/Evolve.cc index 687b725c0..15c63999a 100644 --- a/Carpet/Carpet/src/Evolve.cc +++ b/Carpet/Carpet/src/Evolve.cc @@ -467,10 +467,7 @@ namespace Carpet { // Checking CheckChecksums (cctkGH, alltimes); - if (do_global_mode and - print_timestats_every > 0 and - cctkGH->cctk_iteration % print_timestats_every == 0) - { + if (do_global_mode) { // Timing statistics PrintTimingStats (cctkGH); } -- cgit v1.2.3