Skip to content

Commit

Permalink
Increase timing interval to 5000 cycles on x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
matteo-frigo committed Jan 12, 2013
1 parent 6e61541 commit 23b1bf3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
FFTW 3.3.4

* Increased timing interval on x86_64 to reduce timing errors.

FFTW 3.3.3

* Fix deadlock bug in MPI transforms (thanks to Michael Pippig for the
Expand Down
3 changes: 3 additions & 0 deletions kernel/cycle.h
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ static __inline__ ticks getticks(void)
INLINE_ELAPSED(__inline__)

#define HAVE_TICK_COUNTER
#define TIME_MIN 5000.0
#endif

/* PGI compiler, courtesy Cristiano Calonaci, Andrea Tarsi, & Roberto Gori.
Expand All @@ -243,6 +244,7 @@ static ticks getticks(void)
}
INLINE_ELAPSED(__inline__)
#define HAVE_TICK_COUNTER
#define TIME_MIN 5000.0
#endif

/* Visual C++, courtesy of Dirk Michaelis */
Expand All @@ -255,6 +257,7 @@ typedef unsigned __int64 ticks;
INLINE_ELAPSED(__inline)

#define HAVE_TICK_COUNTER
#define TIME_MIN 5000.0
#endif

/*----------------------------------------------------------------*/
Expand Down

0 comments on commit 23b1bf3

Please sign in to comment.