From a60b2971fc200c8f30e43579beb3770ff30af422 Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Fri, 21 Dec 2012 19:19:38 -0500 Subject: 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. --- Carpet/CarpetLib/interface.ccl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Carpet/CarpetLib/interface.ccl') 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 -- cgit v1.2.3