[Kst] branches/work/kst/portto4/kst/src/libkstmath

Peter Kümmel syntheticpp at gmx.net
Thu Oct 18 14:02:09 UTC 2012


SVN commit 1321284 by kuemmel:

add comment about slower fft when build with mingw

 M  +4 -0      psdcalculator.cpp  


--- branches/work/kst/portto4/kst/src/libkstmath/psdcalculator.cpp #1321283:1321284
@@ -29,6 +29,7 @@
 
 #include <qnamespace.h>
 #include <math_kst.h>
+#include "measuretime.h"
 
 extern "C" void rdft(int n, int isgn, double *a);
 
@@ -190,6 +191,9 @@
 
   memset(output, 0, sizeof(double)*outputLen); // initialize output.
 
+  // Mingw build could be 10 times slower (Gaussian apod, mostly 0 then?)
+  //MeasureTime time_in_rfdt("rdft()");
+
   bool done = false;
   for (i_subset = 0; !done; i_subset++) {
     ioffset = i_subset*outputLen; //overlapping average => i_subset*outputLen


More information about the Kst mailing list