diff options
author | Robb Matzke <matzke@llnl.gov> | 1998-07-30 16:38:21 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1998-07-30 16:38:21 (GMT) |
commit | c7b935a9acd629929296c1ccdd05214cc5c01e5d (patch) | |
tree | 07d051649f88b4d65f98316182e6191b038fc4c7 /src/H5AC.c | |
parent | a34534c9b8321f4de9fadd836be926497f7461d4 (diff) | |
download | hdf5-c7b935a9acd629929296c1ccdd05214cc5c01e5d.zip hdf5-c7b935a9acd629929296c1ccdd05214cc5c01e5d.tar.gz hdf5-c7b935a9acd629929296c1ccdd05214cc5c01e5d.tar.bz2 |
[svn-r547] Changes since 19980729
----------------------
./MANIFEST
./test/Makefile.in
./test/mtime.c [NEW]
Test for the modification time message.
./src/H5AC.c
./src/H5Fistore.c
Turned off printing of statistics on H5close() if H5AC_DEBUG
isn't defined.
Diffstat (limited to 'src/H5AC.c')
-rw-r--r-- | src/H5AC.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -845,15 +845,18 @@ H5AC_unprotect(H5F_t *f, const H5AC_class_t *type, const haddr_t *addr, *------------------------------------------------------------------------- */ herr_t -H5AC_debug(H5F_t *f) +H5AC_debug(H5F_t __unused__ *f) { +#ifdef H5AC_DEBUG H5AC_subid_t i; char s[32], ascii[32]; H5AC_t *cache = f->shared->cache; double miss_rate; +#endif FUNC_ENTER(H5AC_debug, FAIL); +#ifdef H5AC_DEBUG fprintf(stderr, "H5AC: meta data cache statistics for file %s\n", f->name); fprintf(stderr, " %-18s %8s %8s %8s %8s+%-8s\n", "Layer", "Hits", "Misses", "MissRate", "Inits", "Flushes"); @@ -904,6 +907,7 @@ H5AC_debug(H5F_t *f) ((long)(cache->diagnostics[i].nflushes) - (long)(cache->diagnostics[i].ninits))); } +#endif FUNC_LEAVE(SUCCEED); } |