aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/src/CallFunction.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/Carpet/src/CallFunction.cc')
-rw-r--r--Carpet/Carpet/src/CallFunction.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/Carpet/Carpet/src/CallFunction.cc b/Carpet/Carpet/src/CallFunction.cc
index fdb0bb7fd..65be1f244 100644
--- a/Carpet/Carpet/src/CallFunction.cc
+++ b/Carpet/Carpet/src/CallFunction.cc
@@ -320,7 +320,10 @@ namespace Carpet {
buf << attribute->routine << "\n";
string const str = buf.str();
int const id = adler32(str.c_str(), str.length());
+ static Timer barrier_timer ("barrier");
+ barrier_timer.start();
Carpet::NamedBarrier (NULL, id, "Carpet::CallFunction");
+ barrier_timer.stop();
}
total_timer.stop();