diff options
author | Erik Schnetter <schnetter@gmail.com> | 2013-10-11 09:30:58 -0400 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2013-10-11 09:30:58 -0400 |
commit | e99f723c8589aa0b9b2c84e1448c81d10843eb81 (patch) | |
tree | 6a8eedb1b5e65332402a6261ba158cdd2e9f3423 /Carpet | |
parent | 1f11d59bdc897023e049d16a3e58a18cef2403cc (diff) |
CarpetLib: Define elapsed() when CycleClock provides no timer
Diffstat (limited to 'Carpet')
-rw-r--r-- | Carpet/CarpetLib/src/timestat.hh | 1 |
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 |