summaryrefslogtreecommitdiffstats
path: root/tools/h5stat/h5stat.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-04-27 22:40:05 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-04-27 22:40:05 (GMT)
commit2ad138dbb941e02c5811f0962d3a0ca6f01aa7f3 (patch)
treee9c2128e6cc2cc90b73f53445e95288fe1879a07 /tools/h5stat/h5stat.c
parent53f5793d38fe137cd32fec38f8686bd21452d46f (diff)
downloadhdf5-2ad138dbb941e02c5811f0962d3a0ca6f01aa7f3.zip
hdf5-2ad138dbb941e02c5811f0962d3a0ca6f01aa7f3.tar.gz
hdf5-2ad138dbb941e02c5811f0962d3a0ca6f01aa7f3.tar.bz2
[svn-r18652] Description:
Bring r18650 from trunk to 1.8 branch: Bring back various minor tweaks & cleanups from the revise_chunks branch. Tested on: FreeBSD/32 6.3 (duty) in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode (h5committested on trunk)
Diffstat (limited to 'tools/h5stat/h5stat.c')
-rw-r--r--tools/h5stat/h5stat.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/tools/h5stat/h5stat.c b/tools/h5stat/h5stat.c
index efcac48..4554c40 100644
--- a/tools/h5stat/h5stat.c
+++ b/tools/h5stat/h5stat.c
@@ -571,6 +571,7 @@ dataset_stats(iter_t *iter, const char *name, const H5O_info_t *oi)
return 0;
} /* end dataset_stats() */
+
/*-------------------------------------------------------------------------
* Function: datatype_stats
*
@@ -878,17 +879,19 @@ print_file_info(const iter_t *iter)
static herr_t
print_file_metadata(const iter_t *iter)
{
- printf("File space information for file metadata (in bytes):\n");
+ HDfprintf(stdout, "File space information for file metadata (in bytes):\n");
HDfprintf(stdout, "\tSuperblock extension: %Hu\n", iter->super_ext_size);
HDfprintf(stdout, "\tUser block: %Hu\n", iter->ublk_size);
HDfprintf(stdout, "\tObject headers: (total/unused)\n");
- HDfprintf(stdout, "\t\tGroups: %Hu/%Hu\n", iter->group_ohdr_info.total_size,
+ HDfprintf(stdout, "\t\tGroups: %Hu/%Hu\n",
+ iter->group_ohdr_info.total_size,
iter->group_ohdr_info.free_size);
HDfprintf(stdout, "\t\tDatasets(exclude compact data): %Hu/%Hu\n",
iter->dset_ohdr_info.total_size,
iter->dset_ohdr_info.free_size);
- HDfprintf(stdout, "\t\tDatatypes: %Hu/%Hu\n", iter->dtype_ohdr_info.total_size,
+ HDfprintf(stdout, "\t\tDatatypes: %Hu/%Hu\n",
+ iter->dtype_ohdr_info.total_size,
iter->dtype_ohdr_info.free_size);
HDfprintf(stdout, "\tGroups:\n");
@@ -970,6 +973,7 @@ print_group_info(const iter_t *iter)
return 0;
} /* print_group_info() */
+
/*-------------------------------------------------------------------------
* Function: print_group_metadata
*
@@ -997,6 +1001,7 @@ print_group_metadata(const iter_t *iter)
return 0;
} /* print_group_metadata() */
+
/*-------------------------------------------------------------------------
* Function: print_dataset_info
*
@@ -1089,6 +1094,7 @@ print_dataset_info(const iter_t *iter)
return 0;
} /* print_dataset_info() */
+
/*-------------------------------------------------------------------------
* Function: print_dataset_metadata
*
@@ -1160,6 +1166,7 @@ print_dset_dtype_meta(const iter_t *iter)
return 0;
} /* print_dset_dtype_meta() */
+
/*-------------------------------------------------------------------------
* Function: print_attr_info
*
@@ -1253,7 +1260,6 @@ print_file_statistics(const iter_t *iter)
if(display_attr) print_attr_info(iter);
} /* print_file_statistics() */
-
/*-------------------------------------------------------------------------
* Function: print_object_statistics