Skip to content

Commit

Permalink
remove parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanbez committed Aug 22, 2024
1 parent baa9b14 commit 752ac54
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions h5bench_patterns/h5bench_read.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ get_filter_info(hid_t dset_id)
if (MY_RANK == 0) {
printf(" Compression filter used to decompress: %s\n", FILTER_INFO.name);
printf(" Filter ID: %d\n", FILTER_INFO.filter_id);
printf(" Number of compression filter parameters: %ld\n", *FILTER_INFO.cd_nelmts);
for (int i = 0; i < *(FILTER_INFO.cd_nelmts); ++i) {
printf(" Compression parameter %d: %lu\n", i, FILTER_INFO.cd_values[i]);
}
//printf(" Number of compression filter parameters: %ld\n", *FILTER_INFO.cd_nelmts);
//for (int i = 0; i < *(FILTER_INFO.cd_nelmts); ++i) {
// printf(" Compression parameter %d: %lu\n", i, FILTER_INFO.cd_values[i]);
//}
}

return 0;
Expand Down Expand Up @@ -894,11 +894,11 @@ main(int argc, char *argv[])
if (FILTER_INFO.USE_COMPRESS) {
fprintf(params.csv_fs, "compression filter name, %s\n", FILTER_INFO.name);
fprintf(params.csv_fs, "filter ID, %d\n", FILTER_INFO.filter_id);
fprintf(params.csv_fs, "number of compression filter parameters, %ld\n",
*FILTER_INFO.cd_nelmts);
for (int i = 0; i < *(FILTER_INFO.cd_nelmts); ++i) {
fprintf(params.csv_fs, "compression parameter %d, %lu\n", i, FILTER_INFO.cd_values[i]);
}
//fprintf(params.csv_fs, "number of compression filter parameters, %ld\n",
// *FILTER_INFO.cd_nelmts);
//for (int i = 0; i < *(FILTER_INFO.cd_nelmts); ++i) {
// fprintf(params.csv_fs, "compression parameter %d, %lu\n", i, FILTER_INFO.cd_values[i]);
//}
}

fprintf(params.csv_fs, "raw time, %.3f, %s\n", rrt_s, "seconds");
Expand Down

0 comments on commit 752ac54

Please sign in to comment.