diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2010-07-20 18:50:22 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2010-07-20 18:50:22 (GMT) |
commit | 87748c6a0b5d3aba7cfce54746ebae2f5caeebc6 (patch) | |
tree | 4a1847b7e506613050ddaf90f9611c91c5cb1d23 /testpar | |
parent | 71d4644df239df3ea2f9013d54b93dd68cf9392b (diff) | |
download | hdf5-87748c6a0b5d3aba7cfce54746ebae2f5caeebc6.zip hdf5-87748c6a0b5d3aba7cfce54746ebae2f5caeebc6.tar.gz hdf5-87748c6a0b5d3aba7cfce54746ebae2f5caeebc6.tar.bz2 |
[svn-r19113] Description:
Rename H5AC_set() to H5AC_insert_entry()
Get rid of H5C_set_skip_flags() & related flags
Tested on:
Eyeballed only, very simple...
Diffstat (limited to 'testpar')
-rw-r--r-- | testpar/t_cache.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/testpar/t_cache.c b/testpar/t_cache.c index 84dd091..03ac97a 100644 --- a/testpar/t_cache.c +++ b/testpar/t_cache.c @@ -2254,7 +2254,7 @@ insert_entry(H5C_t * cache_ptr, (entry_ptr->ver)++; entry_ptr->dirty = TRUE; - result = H5AC_set(file_ptr, H5P_DATASET_XFER_DEFAULT, &(types[0]), + result = H5AC_insert_entry(file_ptr, H5P_DATASET_XFER_DEFAULT, &(types[0]), entry_ptr->base_addr, (void *)(&(entry_ptr->header)), flags); if ( ( result < 0 ) || @@ -2264,7 +2264,7 @@ insert_entry(H5C_t * cache_ptr, nerrors++; if ( verbose ) { - HDfprintf(stdout, "%d:%s: Error in H5AC_set().\n", + HDfprintf(stdout, "%d:%s: Error in H5AC_insert_entry().\n", world_mpi_rank, fcn_name); } } @@ -3174,7 +3174,6 @@ setup_cache_for_test(hid_t * fid_ptr, *fid_ptr = fid; *file_ptr_ptr = file_ptr; *cache_ptr_ptr = cache_ptr; - H5C_set_skip_flags(cache_ptr, TRUE, TRUE); H5C_stats__reset(cache_ptr); success = TRUE; } @@ -5096,7 +5095,7 @@ smoke_check_5(void) * functions: * * - H5AC_flush() - * - H5AC_set() + * - H5AC_insert_entry() * - H5AC_mark_entry_dirty() * H5AC_move_entry() * - H5AC_pin_protected_entry() @@ -5135,10 +5134,10 @@ trace_file_check(void) { "### HDF5 metadata cache trace file version 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 1.000000 0.250000 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_insert_entry 0x0 15 0x0 2 0\n", + "H5AC_insert_entry 0x2 15 0x0 2 0\n", + "H5AC_insert_entry 0x4 15 0x0 4 0\n", + "H5AC_insert_entry 0x8 15 0x0 6 0\n", "H5AC_protect 0 15 H5AC_WRITE 2 1\n", "H5AC_mark_entry_dirty 0 0\n", "H5AC_unprotect 0 15 0 0 0\n", |