From e99f723c8589aa0b9b2c84e1448c81d10843eb81 Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Fri, 11 Oct 2013 09:30:58 -0400 Subject: CarpetLib: Define elapsed() when CycleClock provides no timer --- Carpet/CarpetLib/src/timestat.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/Carpet/CarpetLib/src/timestat.hh b/Carpet/CarpetLib/src/timestat.hh index 5e008f727..ece12772c 100644 --- a/Carpet/CarpetLib/src/timestat.hh +++ b/Carpet/CarpetLib/src/timestat.hh @@ -11,6 +11,7 @@ #ifndef HAVE_TICK_COUNTER typedef int ticks; inline ticks getticks() { return 0; } +inline double elapsed(ticks, ticks) { return 0.0; } inline double seconds_per_tick(void) { return 0.0; } inline void measure_tick(void) {} #endif -- cgit v1.2.3