[MN-dev] [mndiff]: r93 - trunk/noe/test.c
michael
subversion at mplayerhq.hu
Tue Oct 21 16:28:49 CEST 2008
Author: michael
Date: Tue Oct 21 16:28:48 2008
New Revision: 93
Log:
Factorize code a little.
Modified:
trunk/noe/test.c
Modified: trunk/noe/test.c
==============================================================================
--- trunk/noe/test.c (original)
+++ trunk/noe/test.c Tue Oct 21 16:28:48 2008
@@ -287,13 +287,10 @@ STOP_TIMER}
end= rdtsc();
printf("%Ld cpu cycles for (%d, %d) code, %f bytes/cycle\n", (end-start)/5, n, k, 10*n/(float)(end-start)); fflush(stdout);
}
- }
//Encoding is implemented as erasure decoding thus we dont need to
//benchmark them seperately
- printf("\n\nencoding / erasure decoding benchmarking\n"); fflush(stdout);
- for(codeBits=8; codeBits<=SHIFT; codeBits++){
- decimate= SHIFT - codeBits;
+ printf("\nencoding / erasure decoding benchmarking\n"); fflush(stdout);
for(i=1; i<(SIZE/2)>>decimate; i+=i){
int n= (SIZE - 1)>>decimate;
int k= n - i;
More information about the Mndiff-dev
mailing list