diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-05-01 19:19:52 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-05-01 19:19:52 (GMT) |
commit | b0a3d7c9700f64f21bd52c6dd799df83cdb2a9d4 (patch) | |
tree | 3115adae31af1f5c11887b07c14ebdb5728e8e7a /src/H5Smpio.c | |
parent | 4b0ff36410e7b40d071e0d1adf6048b260375798 (diff) | |
download | hdf5-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/H5Smpio.c')
-rw-r--r-- | src/H5Smpio.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/H5Smpio.c b/src/H5Smpio.c index cc1adb4..4b1a41b 100644 --- a/src/H5Smpio.c +++ b/src/H5Smpio.c @@ -746,7 +746,8 @@ done: */ herr_t H5S_mpio_spaces_read(H5F_t *f, const H5O_layout_t *layout, - const H5D_dcpl_cache_t UNUSED *dcpl_cache, const H5D_storage_t UNUSED *store, size_t elmt_size, + const H5D_dcpl_cache_t UNUSED *dcpl_cache, const H5D_storage_t UNUSED *store, + size_t UNUSED nelmts, size_t elmt_size, const H5S_t *file_space, const H5S_t *mem_space, const H5D_dxpl_cache_t UNUSED *dxpl_cache, hid_t dxpl_id, void *buf/*out*/) { @@ -784,7 +785,8 @@ done: */ herr_t H5S_mpio_spaces_write(H5F_t *f, H5O_layout_t *layout, - const H5D_dcpl_cache_t UNUSED *dcpl_cache, const H5D_storage_t UNUSED *store, size_t elmt_size, + const H5D_dcpl_cache_t UNUSED *dcpl_cache, const H5D_storage_t UNUSED *store, + size_t UNUSED nelmts, size_t elmt_size, const H5S_t *file_space, const H5S_t *mem_space, const H5D_dxpl_cache_t UNUSED *dxpl_cache, hid_t dxpl_id, const void *buf) { |