aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/timestat.hh
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2008-01-14 15:05:00 +0000
committerErik Schnetter <schnetter@cct.lsu.edu>2008-01-14 15:05:00 +0000
commit1746706c2d0ab50858481ac5e8b159b120f47898 (patch)
tree69ae1832afb20b60532affc3b55d8f86c0fb4843 /Carpet/CarpetLib/src/timestat.hh
parent39a9cb3421a4389682f976e96f56ce5c12b19367 (diff)
CarpetLib: Use timing routines from FFTW library
Use the timing routines from FFTW library. These contain platform-specific code for many different platforms. Remove parameter timestat_timer, since the timer is now chosen automatically. darcs-hash:20080114150519-dae7b-d979aa53a1470335b3ace353e862eef13670958d.gz
Diffstat (limited to 'Carpet/CarpetLib/src/timestat.hh')
-rw-r--r--Carpet/CarpetLib/src/timestat.hh10
1 files changed, 8 insertions, 2 deletions
diff --git a/Carpet/CarpetLib/src/timestat.hh b/Carpet/CarpetLib/src/timestat.hh
index 49eb4fab2..ac7514fb5 100644
--- a/Carpet/CarpetLib/src/timestat.hh
+++ b/Carpet/CarpetLib/src/timestat.hh
@@ -5,6 +5,12 @@
#include <list>
#include <string>
+#include <cctk.h>
+
+extern "C" {
+#include "cycle.h"
+}
+
namespace CarpetLib {
@@ -92,9 +98,9 @@ namespace CarpetLib {
double bmax;
double count;
-
+
bool running;
- double starttime;
+ ticks starttime;
public: