aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/timestat.hh
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2012-12-21 19:19:38 -0500
committerErik Schnetter <schnetter@gmail.com>2012-12-21 19:19:38 -0500
commita60b2971fc200c8f30e43579beb3770ff30af422 (patch)
treec3336e5048ae8f83829d881aa8290fde8b101e7a /Carpet/CarpetLib/src/timestat.hh
parent2c6ced8b7e84af5509e58d09865a88b52385321e (diff)
CarpetLib, CycleClock: Move cycle counting clock into its own thorn
New thorn CycleClock, mostly taken out of CarpetLib. This thorn provides an (almost) cycle-accurate clock, taken from FFTW. This clock is both directly accessible, and is also wrapped in a Cactus clock. Note: Applying this commit will require adding thorn CycleClock to thorn lists and parameter files.
Diffstat (limited to 'Carpet/CarpetLib/src/timestat.hh')
-rw-r--r--Carpet/CarpetLib/src/timestat.hh4
1 files changed, 1 insertions, 3 deletions
diff --git a/Carpet/CarpetLib/src/timestat.hh b/Carpet/CarpetLib/src/timestat.hh
index e96d6aada..a773c4d2e 100644
--- a/Carpet/CarpetLib/src/timestat.hh
+++ b/Carpet/CarpetLib/src/timestat.hh
@@ -7,9 +7,7 @@
#include <cctk.h>
-extern "C" {
-#include "cycle.h"
-}
+#include <cycleclock.h>