summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools.h
diff options
context:
space:
mode:
authorJonathan Kim <jkm@hdfgroup.org>2011-10-14 22:44:11 (GMT)
committerJonathan Kim <jkm@hdfgroup.org>2011-10-14 22:44:11 (GMT)
commit664c013fc76b9a440944db320e9025b4a9a62beb (patch)
tree05a4e30ae59d69fab0fd45630e71dc59b9bee2cf /tools/lib/h5tools.h
parent3be11d46c5803fe65c05cd5c859989406ce25667 (diff)
downloadhdf5-664c013fc76b9a440944db320e9025b4a9a62beb.zip
hdf5-664c013fc76b9a440944db320e9025b4a9a62beb.tar.gz
hdf5-664c013fc76b9a440944db320e9025b4a9a62beb.tar.bz2
[svn-r21586] Description:
Added a funtion to reset dataset & hyperslab buffer size for h5repack from an environment variable. This is performance debugging purpose for now. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), Windows (32-LE), cmake
Diffstat (limited to 'tools/lib/h5tools.h')
-rw-r--r--tools/lib/h5tools.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/tools/lib/h5tools.h b/tools/lib/h5tools.h
index 1b2014a..3470b20 100644
--- a/tools/lib/h5tools.h
+++ b/tools/lib/h5tools.h
@@ -31,23 +31,6 @@
#define START_OF_DATA 0x0001
#define END_OF_DATA 0x0002
-/*
- * The output functions need a temporary buffer to hold a piece of the
- * dataset while it's being printed. This constant sets the limit on the
- * size of that temporary buffer in bytes. For efficiency's sake, choose the
- * largest value suitable for your machine (for testing use a small value).
- */
-#if 1
-#define H5TOOLS_BUFSIZE (1024 * 1024)
-#else
-#define H5TOOLS_BUFSIZE (1024)
-#endif
-
-/*
- * Maximum size used in a call to malloc
- */
-#define H5TOOLS_MALLOCSIZE (128 * 1024 * 1024)
-
/* format for hsize_t */
#define HSIZE_T_FORMAT "%"H5_PRINTF_LL_WIDTH"u"