From 369933761ae450342b1771b561da3796c18c0f6e Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Thu, 10 Oct 2013 16:59:41 -0400 Subject: Carpet: Make dependency on CycleClock optional --- Carpet/CarpetLib/src/timestat.hh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Carpet/CarpetLib/src/timestat.hh') diff --git a/Carpet/CarpetLib/src/timestat.hh b/Carpet/CarpetLib/src/timestat.hh index a773c4d2e..5e008f727 100644 --- a/Carpet/CarpetLib/src/timestat.hh +++ b/Carpet/CarpetLib/src/timestat.hh @@ -8,6 +8,12 @@ #include #include +#ifndef HAVE_TICK_COUNTER +typedef int ticks; +inline ticks getticks() { return 0; } +inline double seconds_per_tick(void) { return 0.0; } +inline void measure_tick(void) {} +#endif -- cgit v1.2.3