summaryrefslogtreecommitdiffstats
path: root/testpar/t_cache.c
diff options
context:
space:
mode:
authorJohn Mainzer <mainzer@hdfgroup.org>2007-08-10 04:19:43 (GMT)
committerJohn Mainzer <mainzer@hdfgroup.org>2007-08-10 04:19:43 (GMT)
commitb742150e4c2bc115c531bc285a86dc38153594ca (patch)
tree4ad16a1b21eff750bde4c42a1fdec3db4b13d4d4 /testpar/t_cache.c
parent85ae38b38024661f932f2af6af717c6d4e20572b (diff)
downloadhdf5-b742150e4c2bc115c531bc285a86dc38153594ca.zip
hdf5-b742150e4c2bc115c531bc285a86dc38153594ca.tar.gz
hdf5-b742150e4c2bc115c531bc285a86dc38153594ca.tar.bz2
[svn-r14064] Implemented function allowing the user to cork the metadata cache.
Also implemented associated test code.
Diffstat (limited to 'testpar/t_cache.c')
-rw-r--r--testpar/t_cache.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/testpar/t_cache.c b/testpar/t_cache.c
index b659e79..243caa1 100644
--- a/testpar/t_cache.c
+++ b/testpar/t_cache.c
@@ -5281,28 +5281,28 @@ trace_file_check(void)
const char * expected_output[] =
{
"### HDF5 metadata cache trace file version 1 ###\n",
- "H5AC_set_cache_auto_resize_config 1 0 1 0 \"t_cache_trace.txt\" 0 1048576 0.500000 16777216 1048576 50000 1 0.900000 2.000000 1 4194304 3 0.999000 0.900000 1 1048576 3 1 0.100000 262144 0\n",
- "H5AC_set 0x0 13 0x0 2 0\n",
- "H5AC_set 0x2 13 0x0 2 0\n",
- "H5AC_set 0x4 13 0x0 4 0\n",
- "H5AC_set 0x8 13 0x0 6 0\n",
- "H5AC_protect 0 13 2 1\n",
+ "H5AC_set_cache_auto_resize_config 1 0 1 0 \"t_cache_trace.txt\" 1 0 1048576 0.500000 16777216 1048576 50000 1 0.900000 2.000000 1 4194304 3 0.999000 0.900000 1 1048576 3 1 0.100000 262144 0\n",
+ "H5AC_set 0x0 15 0x0 2 0\n",
+ "H5AC_set 0x2 15 0x0 2 0\n",
+ "H5AC_set 0x4 15 0x0 4 0\n",
+ "H5AC_set 0x8 15 0x0 6 0\n",
+ "H5AC_protect 0 15 H5AC_WRITE 2 1\n",
"H5AC_mark_pinned_or_protected_entry_dirty 0 0\n",
- "H5AC_protect 0 13 0 0 0\n",
- "H5AC_protect 2 13 2 1\n",
+ "H5AC_unprotect 0 15 0 0 0\n",
+ "H5AC_protect 2 15 H5AC_WRITE 2 1\n",
"H5AC_pin_protected_entry 2 0\n",
- "H5AC_protect 2 13 0 0 0\n",
+ "H5AC_unprotect 2 15 0 0 0\n",
"H5AC_unpin_entry 2 0\n",
- "H5AC_expunge_entry 2 13 0\n",
- "H5AC_protect 4 13 4 1\n",
+ "H5AC_expunge_entry 2 15 0\n",
+ "H5AC_protect 4 15 H5AC_WRITE 4 1\n",
"H5AC_pin_protected_entry 4 0\n",
- "H5AC_protect 4 13 0 0 0\n",
+ "H5AC_unprotect 4 15 0 0 0\n",
"H5AC_mark_pinned_entry_dirty 0x4 0 0 0\n",
- "H5AC_resize_pinned_entry 0x4 2 0 0\n",
- "H5AC_resize_pinned_entry 0x4 4 0 0\n",
+ "H5AC_resize_pinned_entry 0x4 2 0\n",
+ "H5AC_resize_pinned_entry 0x4 4 0\n",
"H5AC_unpin_entry 4 0\n",
- "H5AC_rename 0 8a65 13 0\n",
- "H5AC_rename 8a65 0 13 0\n",
+ "H5AC_rename 0 8a65 15 0\n",
+ "H5AC_rename 8a65 0 15 0\n",
"H5AC_flush 0x0 0\n",
NULL
};