diff options
Diffstat (limited to 'user/fftw/cycle.h.patch')
-rw-r--r-- | user/fftw/cycle.h.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/user/fftw/cycle.h.patch b/user/fftw/cycle.h.patch deleted file mode 100644 index ff70cdb4d..000000000 --- a/user/fftw/cycle.h.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- ./kernel/cycle.h.orig -+++ ./kernel/cycle.h -@@ -437,26 +437,6 @@ - #define HAVE_TICK_COUNTER - #endif - /*----------------------------------------------------------------*/ --/* SGI/Irix */ --#if defined(HAVE_CLOCK_GETTIME) && defined(CLOCK_SGI_CYCLE) && !defined(HAVE_TICK_COUNTER) --typedef struct timespec ticks; -- --static inline ticks getticks(void) --{ -- struct timespec t; -- clock_gettime(CLOCK_SGI_CYCLE, &t); -- return t; --} -- --static inline double elapsed(ticks t1, ticks t0) --{ -- return ((double)t1.tv_sec - (double)t0.tv_sec) * 1.0E9 + -- ((double)t1.tv_nsec - (double)t0.tv_nsec); --} --#define HAVE_TICK_COUNTER --#endif -- --/*----------------------------------------------------------------*/ - /* Cray UNICOS _rtc() intrinsic function */ - #if defined(HAVE__RTC) && !defined(HAVE_TICK_COUNTER) - #ifdef HAVE_INTRINSICS_H |