diff options
Diffstat (limited to 'Carpet/CarpetLib/src/timestat.hh')
-rw-r--r-- | Carpet/CarpetLib/src/timestat.hh | 6 |
1 files changed, 6 insertions, 0 deletions
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 <cctk.h> #include <cycleclock.h> +#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 |