diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-02-06 15:34:01 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-02-06 15:34:01 (GMT) |
commit | d8cfeadd906c13421c4fe9abe1a5318a956236f6 (patch) | |
tree | 1c0c4c1f988ebd2ec44de73411bd8dcc136c6464 /src/H5Spkg.h | |
parent | aaeecad6564fe93bb8de567220eed453f890acf4 (diff) | |
download | hdf5-d8cfeadd906c13421c4fe9abe1a5318a956236f6.zip hdf5-d8cfeadd906c13421c4fe9abe1a5318a956236f6.tar.gz hdf5-d8cfeadd906c13421c4fe9abe1a5318a956236f6.tar.bz2 |
[svn-r8158] Purpose:
Code cleanup/optimization
Description:
Query property list values once, at the beginning of the I/O routines,
instead of querying the property list values multiple (lots!) of times in
lower level routines.
Solution:
Create "property list caches" for internal library queries of the property
list values.
Platforms tested:
IBM p690 (copper) w/parallel & fphdf5
h5committest
Diffstat (limited to 'src/H5Spkg.h')
-rw-r--r-- | src/H5Spkg.h | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/src/H5Spkg.h b/src/H5Spkg.h index e23cda9..5d73fa2 100644 --- a/src/H5Spkg.h +++ b/src/H5Spkg.h @@ -261,22 +261,18 @@ H5_DLL herr_t H5S_none_get_seq_list(const H5S_t *space, unsigned flags, #ifdef H5_HAVE_PARALLEL /* MPI-IO function to read directly from app buffer to file rky980813 */ -H5_DLL herr_t H5S_mpio_spaces_read(H5F_t *f, - const struct H5O_layout_t *layout, - H5P_genplist_t *dc_plist, - const H5D_storage_t *store, - size_t elmt_size, const H5S_t *file_space, - const H5S_t *mem_space, hid_t dxpl_id, - void *buf/*out*/); +H5_DLL herr_t H5S_mpio_spaces_read(H5F_t *f, const struct H5O_layout_t *layout, + const H5D_dcpl_cache_t *dcpl_cache, const H5D_storage_t *store, + size_t elmt_size, const H5S_t *file_space, + const H5S_t *mem_space, const H5D_dxpl_cache_t *dxpl_cache, hid_t dxpl_id, + void *buf/*out*/); /* MPI-IO function to write directly from app buffer to file rky980813 */ -H5_DLL herr_t H5S_mpio_spaces_write(H5F_t *f, - struct H5O_layout_t *layout, - H5P_genplist_t *dc_plist, - const H5D_storage_t *store, - size_t elmt_size, const H5S_t *file_space, - const H5S_t *mem_space, hid_t dxpl_id, - const void *buf); +H5_DLL herr_t H5S_mpio_spaces_write(H5F_t *f, struct H5O_layout_t *layout, + const H5D_dcpl_cache_t *dcpl_cache, const H5D_storage_t *store, + size_t elmt_size, const H5S_t *file_space, + const H5S_t *mem_space, const H5D_dxpl_cache_t *dxpl_cache, hid_t dxpl_id, + const void *buf); /* MPI-IO function to check if a direct I/O transfer is possible between * memory and the file */ |