aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/src/Evolve.cc
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2012-04-04 15:55:18 -0400
committerBarry Wardell <barry.wardell@gmail.com>2012-09-11 18:23:14 +0100
commitd5f8e7b9264da912ef2afbda899dd07464474491 (patch)
tree2608cfcbc6da6c710773d3334af040842ee88c16 /Carpet/Carpet/src/Evolve.cc
parented914b3a49c781ec097743e64c6a81c06f93d6c1 (diff)
Carpet: Time OutputGH operations
Diffstat (limited to 'Carpet/Carpet/src/Evolve.cc')
-rw-r--r--Carpet/Carpet/src/Evolve.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/Carpet/Carpet/src/Evolve.cc b/Carpet/Carpet/src/Evolve.cc
index 204f254dc..5fd146991 100644
--- a/Carpet/Carpet/src/Evolve.cc
+++ b/Carpet/Carpet/src/Evolve.cc
@@ -686,7 +686,10 @@ namespace Carpet {
void OutputGH (char const * const where, cGH * const cctkGH)
{
+ static Timer timer("OutputGH");
+ timer.start();
CCTK_OutputGH (cctkGH);
+ timer.stop();
}
} // namespace Carpet