summaryrefslogtreecommitdiffstats
path: root/src/H5Cdbg.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2017-09-30 14:50:58 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2017-09-30 14:50:58 (GMT)
commit744b6b282f087ce23310805dc24ce8f8b351fb61 (patch)
treeca497bd2a868409b61a849cd8945601497077640 /src/H5Cdbg.c
parentfaf723e6d546a280e3fe935626f0de18f1757377 (diff)
downloadhdf5-744b6b282f087ce23310805dc24ce8f8b351fb61.zip
hdf5-744b6b282f087ce23310805dc24ce8f8b351fb61.tar.gz
hdf5-744b6b282f087ce23310805dc24ce8f8b351fb61.tar.bz2
Better segregate clean & dirty LRU lists so that they are only defined when
the H5C_MAINTAIN_CLEAN_AND_DIRTY_LRU_LISTS macro is defined.
Diffstat (limited to 'src/H5Cdbg.c')
-rw-r--r--src/H5Cdbg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5Cdbg.c b/src/H5Cdbg.c
index 4a08d9b..08c70d9 100644
--- a/src/H5Cdbg.c
+++ b/src/H5Cdbg.c
@@ -716,6 +716,7 @@ H5C_stats(H5C_t * cache_ptr,
(long)(cache_ptr->LRU_list_size),
(unsigned long)(cache_ptr->LRU_list_len));
+#if H5C_MAINTAIN_CLEAN_AND_DIRTY_LRU_LISTS
HDfprintf(stdout,
"%s current clean LRU size / length = %ld / %lu\n",
cache_ptr->prefix,
@@ -727,6 +728,7 @@ H5C_stats(H5C_t * cache_ptr,
cache_ptr->prefix,
(long)(cache_ptr->dLRU_list_size),
(unsigned long)(cache_ptr->dLRU_list_len));
+#endif /* H5C_MAINTAIN_CLEAN_AND_DIRTY_LRU_LISTS */
HDfprintf(stdout,
"%s Total hits / misses / hit_rate = %ld / %ld / %f\n",