aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetIOASCII
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-08-07 18:33:48 -0400
committerErik Schnetter <schnetter@gmail.com>2013-08-07 18:57:56 -0400
commit77e61bb9a06ef271348c96d762935442c7439f0c (patch)
tree23a12a75ff19e45f65f71141efa2bf892e4773da /Carpet/CarpetIOASCII
parent2dedcb0e7340b0682d530dc26e764408b301e3b8 (diff)
Timers: Move all timer-related code into a new thorn Timers
Diffstat (limited to 'Carpet/CarpetIOASCII')
-rw-r--r--Carpet/CarpetIOASCII/interface.ccl3
-rw-r--r--Carpet/CarpetIOASCII/src/ioascii.cc13
2 files changed, 9 insertions, 7 deletions
diff --git a/Carpet/CarpetIOASCII/interface.ccl b/Carpet/CarpetIOASCII/interface.ccl
index 1d377f38c..10ccfceff 100644
--- a/Carpet/CarpetIOASCII/interface.ccl
+++ b/Carpet/CarpetIOASCII/interface.ccl
@@ -2,8 +2,9 @@
IMPLEMENTS: IOASCII
+uses include header: Timer.hh
+
uses include header: carpet.hh
-uses include header: CarpetTimers.hh
uses include header: dist.hh
diff --git a/Carpet/CarpetIOASCII/src/ioascii.cc b/Carpet/CarpetIOASCII/src/ioascii.cc
index 9c860eec5..3707b3c25 100644
--- a/Carpet/CarpetIOASCII/src/ioascii.cc
+++ b/Carpet/CarpetIOASCII/src/ioascii.cc
@@ -15,16 +15,17 @@
#include <string>
#include <vector>
-#include "cctk.h"
-#include "cctk_Parameters.h"
-#include "util_Network.h"
-#include "util_Table.h"
+#include <cctk.h>
+#include <cctk_Parameters.h>
+#include <util_Network.h>
+#include <util_Table.h>
+
+#include <Timer.hh>
#include "CactusBase/IOUtil/src/ioGH.h"
#include "CactusBase/IOUtil/src/ioutil_Utils.h"
#include "carpet.hh"
-#include "CarpetTimers.hh"
#include "typeprops.hh"
@@ -232,7 +233,7 @@ namespace CarpetIOASCII {
{
ostringstream timer_name;
timer_name << "OutputGH<" << outdim << ">";
- Carpet::Timer timer(timer_name.str());
+ Timers::Timer timer(timer_name.str());
timer.start();
for (int vi=0; vi<CCTK_NumVars(); ++vi) {