Changeset 113


Ignore:
Timestamp:
06/02/10 02:44:31 (4 years ago)
Author:
faltet
Message:

Warm destination memory for putting memcpy in the same conditions than blosc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bench/bench.c

    r106 r113  
    158158  } 
    159159 
     160  /* Warm destination memory (memcpy() will go a bit faster later on) */ 
     161  for (j = 0; j < NCHUNKS; j++) { 
     162    memcpy(dest[j], src, size); 
     163  } 
     164 
    160165  printf("--> %d, %d, %d, %d\n", nthreads, size, elsize, rshift); 
    161166  printf("********************** Run info ******************************\n"); 
Note: See TracChangeset for help on using the changeset viewer.