mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-06 14:56:51 +08:00
[svn-r23077] I adjusted the dataset and chunk to smaller sizes.
Tested on koala.
This commit is contained in:
parent
0c4cec81b2
commit
bbeea7dd99
@ -53,11 +53,11 @@ const char *FILENAME[] = {
|
||||
#define REG_NO_COMPRESS_DSET "reg_no_compress_dset"
|
||||
#define RANK 3
|
||||
#define NX 100
|
||||
#define NY 2000
|
||||
#define NZ 3000
|
||||
#define NY 1000
|
||||
#define NZ 250
|
||||
#define CHUNK_NX 1
|
||||
#define CHUNK_NY 2000
|
||||
#define CHUNK_NZ 3000
|
||||
#define CHUNK_NY 1000
|
||||
#define CHUNK_NZ 250
|
||||
|
||||
#define DEFLATE_SIZE_ADJUST(s) (ceil(((double)(s))*1.001)+12)
|
||||
char filename[1024];
|
||||
@ -87,7 +87,6 @@ void reportTime(struct timeval start, double mbytes)
|
||||
timeval_diff.tv_sec--;
|
||||
} /* end if */
|
||||
|
||||
/*printf("mbytes=%lf, sec=%lf, usec=%lf\n", mbytes, (double)timeval_diff.tv_sec, (double)timeval_diff.tv_usec);*/
|
||||
printf("MBytes/second: %lf\n", (double)mbytes/((double)timeval_diff.tv_sec+((double)timeval_diff.tv_usec/(double)1000000.0)));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user