Changeset 98
- Timestamp:
- 05/31/10 13:16:16 (3 years ago)
- File:
-
- 1 edited
-
trunk/src/bench.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bench.c
r96 r98 160 160 printf("********************** Run info ******************************\n"); 161 161 printf("Blosc version: %s (%s)\n", BLOSC_VERSION_STRING, BLOSC_VERSION_DATE); 162 printf("Using random datawith %d significant bits (out of 32)\n", rshift);162 printf("Using synthetic with %d significant bits (out of 32)\n", rshift); 163 163 printf("Dataset size: %d bytes\tType size: %d bytes\n", size, elsize); 164 164 printf("Working set: %.1f MB\t\t", (size*NCHUNKS) / (float)MB); … … 264 264 int hard_suite = 0; 265 265 int nthreads = 1; /* The number of threads */ 266 unsigned int size = 1024*1024;/* Buffer size */266 unsigned int size = 2*1024*1024; /* Buffer size */ 267 267 unsigned int elsize = 4; /* Datatype size */ 268 int rshift = 20; /* Significant bits */ 268 int rshift = 19; /* Significant bits */ 269 int j; 269 270 270 271 if ((argc == 2) && strcmp(argv[1], "suite") == 0) { … … 316 317 } 317 318 else { 318 do_bench(nthreads, size, elsize, rshift); 319 for (j=1; j <= nthreads; j++) { 320 do_bench(j, size, elsize, rshift); 321 } 319 322 } 320 323
Note: See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/images/blosc-logo-small.png)