aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-10-11 09:30:58 -0400
committerErik Schnetter <schnetter@gmail.com>2013-10-11 09:30:58 -0400
commite99f723c8589aa0b9b2c84e1448c81d10843eb81 (patch)
tree6a8eedb1b5e65332402a6261ba158cdd2e9f3423
parent1f11d59bdc897023e049d16a3e58a18cef2403cc (diff)
CarpetLib: Define elapsed() when CycleClock provides no timer
-rw-r--r--Carpet/CarpetLib/src/timestat.hh1
1 files changed, 1 insertions, 0 deletions
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