aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/interface.ccl
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/interface.ccl
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/interface.ccl')
-rw-r--r--Carpet/CarpetLib/interface.ccl3
1 files changed, 3 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/interface.ccl b/Carpet/CarpetLib/interface.ccl
index 6495fdec3..0a2086c4f 100644
--- a/Carpet/CarpetLib/interface.ccl
+++ b/Carpet/CarpetLib/interface.ccl
@@ -2,6 +2,8 @@
IMPLEMENTS: CarpetLib
+INHERITS: CycleClock
+
includes header: mpi_string.hh in mpi_string.hh
includes header: cacheinfo.hh in cacheinfo.hh
@@ -37,6 +39,7 @@ includes header: operators.hh in operators.hh
uses include header: nompi.h
uses include header: CarpetTimers.hh
+uses include header: cycleclock.h
uses include header: loopcontrol.h
uses include header: vectors.h