summaryrefslogtreecommitdiffstats
path: root/src/H5HFdbg.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-05-23 01:24:26 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-05-23 01:24:26 (GMT)
commitdaa4f9af6cfc4c5af0cac8cf8e8229b3a3705728 (patch)
tree518d53bea7399701884f2738795469b0d0faa8a7 /src/H5HFdbg.c
parent13c0f22b12fbe262faa2a442f4c84f8fcb800fe3 (diff)
downloadhdf5-daa4f9af6cfc4c5af0cac8cf8e8229b3a3705728.zip
hdf5-daa4f9af6cfc4c5af0cac8cf8e8229b3a3705728.tar.gz
hdf5-daa4f9af6cfc4c5af0cac8cf8e8229b3a3705728.tar.bz2
[svn-r12365] Purpose:
Code checkpoint Description: Add a few minor tweaks & corrections to the fractal heap code. Platforms tested: Linux 2.4 (chicago) Too minor to require h5committest
Diffstat (limited to 'src/H5HFdbg.c')
-rw-r--r--src/H5HFdbg.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/H5HFdbg.c b/src/H5HFdbg.c
index 9748964..81faf1e 100644
--- a/src/H5HFdbg.c
+++ b/src/H5HFdbg.c
@@ -232,6 +232,9 @@ H5HF_hdr_debug(H5F_t *f, hid_t dxpl_id, haddr_t addr, FILE *stream, int indent,
"Total managed space data block size:",
hdr->man_size);
HDfprintf(stream, "%*s%-*s %Hu\n", indent, "", fwidth,
+ "Total managed space allocated data block size:",
+ hdr->man_alloc_size);
+ HDfprintf(stream, "%*s%-*s %Hu\n", indent, "", fwidth,
"Total standalone space data block size:",
hdr->std_size);
HDfprintf(stream, "%*s%-*s %Hu\n", indent, "", fwidth,
@@ -537,7 +540,7 @@ H5HF_iblock_debug(H5F_t *f, hid_t dxpl_id, haddr_t addr, FILE *stream,
hdr->man_dtable.max_direct_rows);
/* Print the entry tables */
- HDfprintf(stream, "%*sDirect Block Entries (address, free space):\n", indent, "");
+ HDfprintf(stream, "%*sDirect Block Entries: (address)\n", indent, "");
for(u = 0; u < hdr->man_dtable.max_direct_rows && u < iblock->nrows; u++) {
sprintf(temp_str, "Row #%u: (block size: %lu)", (unsigned)u, (unsigned long)hdr->man_dtable.row_block_size[u]);
HDfprintf(stream, "%*s%-*s\n", indent + 3, "", MAX(0, fwidth - 3),
@@ -578,7 +581,6 @@ H5HF_iblock_debug(H5F_t *f, hid_t dxpl_id, haddr_t addr, FILE *stream,
HDfprintf(stream, "%*s%-*s\n", indent + 3, "", MAX(0, fwidth - 3),
"<none>");
-
done:
if(iblock && H5AC_unprotect(f, dxpl_id, H5AC_FHEAP_IBLOCK, addr, iblock, H5AC__NO_FLAGS_SET) < 0)
HDONE_ERROR(H5E_HEAP, H5E_PROTECT, FAIL, "unable to release fractal heap direct block")