diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2007-01-04 15:28:36 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2007-01-04 15:28:36 (GMT) |
commit | 5b16810ac29d497c8cc6e28f23031b34a6d44a53 (patch) | |
tree | 891f0f6c2809af58a129342b50bec58ca5e5321d /tools | |
parent | 1bef5c88ad69194b8f0333ac507679f6c1825160 (diff) | |
download | hdf5-5b16810ac29d497c8cc6e28f23031b34a6d44a53.zip hdf5-5b16810ac29d497c8cc6e28f23031b34a6d44a53.tar.gz hdf5-5b16810ac29d497c8cc6e28f23031b34a6d44a53.tar.bz2 |
[svn-r13106] clean code, removed some debugging code
Diffstat (limited to 'tools')
-rw-r--r-- | tools/h5repack/h5repack_copy.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/tools/h5repack/h5repack_copy.c b/tools/h5repack/h5repack_copy.c index d9dfe4d..55f185a 100644 --- a/tools/h5repack/h5repack_copy.c +++ b/tools/h5repack/h5repack_copy.c @@ -317,9 +317,6 @@ int do_copy_objects(hid_t fidin, void *buf=NULL; /* buffer for raw data */ void *sm_buf=NULL; /* buffer for raw data */ unsigned i; -#if defined(H5REPACK_GETTIME) - time_t start_time, finish_time, time_secs; -#endif /*------------------------------------------------------------------------- * copy the suppplied object list @@ -389,9 +386,6 @@ int do_copy_objects(hid_t fidin, { int j; -#if defined(H5REPACK_GETTIME) - time( &start_time ); -#endif if ((dset_in=H5Dopen(fidin,travt->objs[i].name))<0) goto error; if ((f_space_id=H5Dget_space(dset_in))<0) @@ -659,11 +653,6 @@ int do_copy_objects(hid_t fidin, if (H5Dclose(dset_in)<0) goto error; -#if defined(H5REPACK_GETTIME) - time( &finish_time ); - time_secs = finish_time-start_time; - printf("time1=%d secs\n",time_secs); -#endif } /*------------------------------------------------------------------------- @@ -674,10 +663,6 @@ int do_copy_objects(hid_t fidin, { hid_t pid; -#if defined(H5REPACK_GETTIME) - time( &start_time ); -#endif - /* create property to pass copy options */ if ( (pid = H5Pcreate(H5P_OBJECT_COPY)) < 0) goto error; @@ -699,13 +684,6 @@ int do_copy_objects(hid_t fidin, if (H5Pclose(pid)<0) goto error; -#if defined(H5REPACK_GETTIME) - time( &finish_time ); - time_secs = finish_time-start_time; - printf("time2=%d secs\n",time_secs); -#endif - - } /* end do we have request for filter/chunking */ |