mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-31 17:10:47 +08:00
[svn-r14829] Revised files of the serial benchmarking tool.
Tested on kagiso, smirom, and linew.
This commit is contained in:
parent
d3e9a4cb40
commit
512f4ff28f
@ -728,6 +728,9 @@ static herr_t posix_buffer_write(int local_dim, file_descr *fd, parameters *parm
|
||||
int dtype_size = 1;
|
||||
int ret_code = SUCCESS;
|
||||
long i;
|
||||
size_t d_offset;
|
||||
size_t linear_dset_offset = 0;
|
||||
int j, rc;
|
||||
|
||||
/* if dimension is not contiguous, call recursively */
|
||||
if (local_dim < parms->rank-1 && local_dim != cont_dim) {
|
||||
@ -746,8 +749,6 @@ static herr_t posix_buffer_write(int local_dim, file_descr *fd, parameters *parm
|
||||
} else {
|
||||
|
||||
buf_offset[local_dim] = 0;
|
||||
size_t linear_dset_offset = 0, d_offset;
|
||||
int j, rc;
|
||||
|
||||
/* determine offset in the buffer */
|
||||
for (i=0; i < parms->rank; i++){
|
||||
@ -1011,6 +1012,9 @@ static herr_t posix_buffer_read(int local_dim, file_descr *fd, parameters *parms
|
||||
int dtype_size = 1;
|
||||
int ret_code = SUCCESS;
|
||||
long i;
|
||||
size_t d_offset;
|
||||
size_t linear_dset_offset = 0;
|
||||
int j, rc;
|
||||
|
||||
/* if local dimension is not contiguous, recurse */
|
||||
if (local_dim < parms->rank-1 && local_dim != cont_dim) {
|
||||
@ -1025,8 +1029,6 @@ static herr_t posix_buffer_read(int local_dim, file_descr *fd, parameters *parms
|
||||
} else {
|
||||
|
||||
buf_offset[local_dim] = 0;
|
||||
size_t linear_dset_offset = 0, d_offset;
|
||||
int j, rc;
|
||||
/* determine offset in buffer */
|
||||
for (i=0; i<parms->rank; i++){
|
||||
d_offset=1;
|
||||
|
@ -861,9 +861,6 @@ report_parameters(struct options *opts)
|
||||
HDfprintf(output, "Number of iterations=%Hd\n",
|
||||
(long_long)opts->num_iters);
|
||||
|
||||
//HDfprintf(output, "Size of dataset(s)=");
|
||||
//recover_size_and_print((long_long)(opts->num_bpp), "\n");
|
||||
|
||||
HDfprintf(output, "Dataset size=");
|
||||
|
||||
for (i=0; i<rank; i++)
|
||||
@ -1217,7 +1214,6 @@ parse_command_line(int argc, char *argv[])
|
||||
if (isalnum(*end) && i < 10)
|
||||
buf[i++] = *end;
|
||||
|
||||
//cl_opts->order[j] = atoi(buf);
|
||||
cl_opts->order[j] = parse_size_directive(buf);
|
||||
|
||||
j++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user