summaryrefslogtreecommitdiffstats
path: root/src/H5Spkg.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-05-01 19:19:52 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-05-01 19:19:52 (GMT)
commitb0a3d7c9700f64f21bd52c6dd799df83cdb2a9d4 (patch)
tree3115adae31af1f5c11887b07c14ebdb5728e8e7a /src/H5Spkg.h
parent4b0ff36410e7b40d071e0d1adf6048b260375798 (diff)
downloadhdf5-b0a3d7c9700f64f21bd52c6dd799df83cdb2a9d4.zip
hdf5-b0a3d7c9700f64f21bd52c6dd799df83cdb2a9d4.tar.gz
hdf5-b0a3d7c9700f64f21bd52c6dd799df83cdb2a9d4.tar.bz2
[svn-r8462] 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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Spkg.h b/src/H5Spkg.h
index 31f23ea..dbc7048 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);