diff peck_fft.c @ 11:abdcde012978

backup
author Peter Meerwald <p.meerwald@bct-electronic.com>
date Thu, 22 Sep 2011 15:19:18 +0200
parents 05f6ab0a17c0
children 655dc5c14169
line wrap: on
line diff
--- a/peck_fft.c	Wed Sep 21 15:20:58 2011 +0200
+++ b/peck_fft.c	Thu Sep 22 15:19:18 2011 +0200
@@ -294,7 +294,18 @@
             kf_bfly2(Fout, fstride, st, m); 
             break;
         case 3: kf_bfly3(Fout, fstride, st, m); break; 
-        case 4: kf_bfly4(Fout, fstride, st, m); break;
+        case 4: 
+        {
+static unsigned counter = 0;        
+            armv7_cycles_start();
+            unsigned int t1 = armv7_cycles_read();
+            kf_bfly4(Fout, fstride, st, m); 
+            unsigned int t2 = armv7_cycles_read();
+            armv7_cycles_stop();
+            counter++;
+            if (counter > 150 && counter < 160) printf("XX %d\n", t2-t1);
+}            
+            break;
         case 5: kf_bfly5(Fout, fstride, st, m); break; 
         default: kf_bfly_generic(Fout, fstride, st, m, p); break;
     }

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.