diff options
author | Jonathan Kim <jkm@hdfgroup.org> | 2011-05-06 22:02:24 (GMT) |
---|---|---|
committer | Jonathan Kim <jkm@hdfgroup.org> | 2011-05-06 22:02:24 (GMT) |
commit | 054ca47350a07361e61d668453f62a0c657da70d (patch) | |
tree | 38273e03cf23af80e6be9c4d0a95e65d7e326a9b /tools/lib/h5diff.h | |
parent | 03cc051dde9c5673afe847a59dda84fc6dc6d0dc (diff) | |
download | hdf5-054ca47350a07361e61d668453f62a0c657da70d.zip hdf5-054ca47350a07361e61d668453f62a0c657da70d.tar.gz hdf5-054ca47350a07361e61d668453f62a0c657da70d.tar.bz2 |
[svn-r20767] Purpose:
HDFFV-5928 - GMQS: h5diff problem and improvement on comparsing the same objects
Description:
Improved performance by eliminating duplicated action for getting object
information in half from the previous fixe when comparing group vs group.
This is addition to the previous commit r20676.
Tested:
jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), cmake
Diffstat (limited to 'tools/lib/h5diff.h')
-rw-r--r-- | tools/lib/h5diff.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/tools/lib/h5diff.h b/tools/lib/h5diff.h index 19d5ed5..66c5188 100644 --- a/tools/lib/h5diff.h +++ b/tools/lib/h5diff.h @@ -22,6 +22,16 @@ #define MAX_FILENAME 1024 /*------------------------------------------------------------------------- + * This is used to pass multiple args into diff(). + * Passing this instead of several each arg provides smoother extensibility + * through its members along with MPI code for ph5diff + * as it doesn't require interface change. + *------------------------------------------------------------------------*/ +typedef struct { + h5trav_type_t type; + hbool_t is_same_trgobj; +} diff_args_t; +/*------------------------------------------------------------------------- * command line options *------------------------------------------------------------------------- */ @@ -106,7 +116,7 @@ hsize_t diff( hid_t file1_id, hid_t file2_id, const char *path2, diff_opt_t *options, - h5trav_type_t type ); + diff_args_t *argdata); hsize_t diff_compare( hid_t file1_id, const char *file1_name, |