Changeset 62
- Timestamp:
- 04/27/10 08:37:08 (3 years ago)
- Location:
- branches/threaded/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/threaded/src/bench.c
r61 r62 144 144 unsigned int elsize = 8; /* Datatype size */ 145 145 int rshift = 12; /* For random data */ 146 int nthreads = 2; /* The number of threads */146 int nthreads = 4; /* The number of threads */ 147 147 int doshuffle = 1; /* Shuffle? */ 148 148 unsigned char *orig, *round; -
branches/threaded/src/blosc.c
r61 r62 28 28 29 29 /* Starting point for the blocksize computation */ 30 #define BLOCKSIZE ( 4*1024) /* 4 KB (page size) */30 #define BLOCKSIZE (2*1024) 31 31 32 32 /* Maximum typesize before considering buffer as a stream of bytes. */ … … 192 192 blocksize = BLOCKSIZE; 193 193 /* 3 first optimization levels will not change blocksize */ 194 for (i= 4; i<=(unsigned int)clevel; i++) {194 for (i=2; i<=(unsigned int)clevel; i++) { 195 195 /* Escape if blocksize grows more than nbytes */ 196 196 if (blocksize*2 > nbytes) break;
Note: See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/images/blosc-logo-small.png)