comparison 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
comparison
equal deleted inserted replaced
10:05f6ab0a17c0 11:abdcde012978
292 switch (p) { 292 switch (p) {
293 case 2: 293 case 2:
294 kf_bfly2(Fout, fstride, st, m); 294 kf_bfly2(Fout, fstride, st, m);
295 break; 295 break;
296 case 3: kf_bfly3(Fout, fstride, st, m); break; 296 case 3: kf_bfly3(Fout, fstride, st, m); break;
297 case 4: kf_bfly4(Fout, fstride, st, m); break; 297 case 4:
298 {
299 static unsigned counter = 0;
300 armv7_cycles_start();
301 unsigned int t1 = armv7_cycles_read();
302 kf_bfly4(Fout, fstride, st, m);
303 unsigned int t2 = armv7_cycles_read();
304 armv7_cycles_stop();
305 counter++;
306 if (counter > 150 && counter < 160) printf("XX %d\n", t2-t1);
307 }
308 break;
298 case 5: kf_bfly5(Fout, fstride, st, m); break; 309 case 5: kf_bfly5(Fout, fstride, st, m); break;
299 default: kf_bfly_generic(Fout, fstride, st, m, p); break; 310 default: kf_bfly_generic(Fout, fstride, st, m, p); break;
300 } 311 }
301 } 312 }
302 313

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