diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-05-01 19:19:46 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-05-01 19:19:46 (GMT) |
commit | cb4b2ad153a91a71eab3d88b43980709add3feee (patch) | |
tree | 91abfa5f0cd259eba4f87c569ee688c8d6364180 /src/H5Spkg.h | |
parent | 050ff9dc1a84b609709822a75f5337485396a9a0 (diff) | |
download | hdf5-cb4b2ad153a91a71eab3d88b43980709add3feee.zip hdf5-cb4b2ad153a91a71eab3d88b43980709add3feee.tar.gz hdf5-cb4b2ad153a91a71eab3d88b43980709add3feee.tar.bz2 |
[svn-r8461] Purpose:
Code optimization
Description:
Reduce the number of times the number of elements in a selection is
computed.
Platforms tested:
Solaris 2.7 (arabica)
FreeBSD 4.9 (sleipnir) w/parallel
too minor to require h5committest
Diffstat (limited to 'src/H5Spkg.h')
-rw-r--r-- | src/H5Spkg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Spkg.h b/src/H5Spkg.h index 3144dab..313c206 100644 --- a/src/H5Spkg.h +++ b/src/H5Spkg.h @@ -252,14 +252,14 @@ H5_DLL herr_t H5S_none_get_seq_list(const H5S_t *space, unsigned flags, /* 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, const H5D_dcpl_cache_t *dcpl_cache, const H5D_storage_t *store, - size_t elmt_size, const H5S_t *file_space, + size_t nelmts, 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, const H5D_dcpl_cache_t *dcpl_cache, const H5D_storage_t *store, - size_t elmt_size, const H5S_t *file_space, + size_t nelmts, 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); |