summaryrefslogtreecommitdiffstats
path: root/perform/overhead.c
diff options
context:
space:
mode:
Diffstat (limited to 'perform/overhead.c')
-rw-r--r--perform/overhead.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/perform/overhead.c b/perform/overhead.c
index d9715e7..4835d44 100644
--- a/perform/overhead.c
+++ b/perform/overhead.c
@@ -60,7 +60,7 @@
#ifndef TRUE
#define TRUE 1
#endif /* TRUE */
-
+
typedef enum fill_t {
FILL_ALL,
FILL_FORWARD,
@@ -225,13 +225,13 @@ test(fill_t fill_style, const double splits[],
if ((dset=H5Dcreate(file, "chunked", H5T_NATIVE_INT,
fspace, dcpl))<0) goto error;
-#if !defined( __MWERKS__)
+#if !defined( __MWERKS__)
- /*
+ /*
workaround for a bug in the Metrowerks version 6.0 open function
- */
+ */
if ((fd=HDopen(FILE_NAME_1, O_RDONLY, 0666))<0) goto error;
-#endif
+#endif
for (i=1; i<=cur_size[0]; i++) {
@@ -267,7 +267,7 @@ test(fill_t fill_style, const double splits[],
}
-#if !defined( __MWERKS__)
+#if !defined( __MWERKS__)
/* Determine overhead */
if (verbose) {
@@ -282,9 +282,9 @@ test(fill_t fill_style, const double splits[],
(unsigned long)i,
(double)(hssize_t)(sb.st_size-i*sizeof(int))/(hssize_t)i);
}
-#endif
-
-
+#endif
+
+
}
H5Dclose(dset);
@@ -314,15 +314,15 @@ test(fill_t fill_style, const double splits[],
case FILL_ALL:
abort();
}
-
+
#if !defined( __MWERKS__)
-
+
if (HDfstat(fd, &sb)<0) goto error;
printf("%-7s %8.3f\n", sname,
(double)(hssize_t)(sb.st_size-cur_size[0]*sizeof(int))/
(hssize_t)cur_size[0]);
#endif
-
+
}
@@ -348,7 +348,7 @@ test(fill_t fill_style, const double splits[],
/*-------------------------------------------------------------------------
* Function: main
*
- * Purpose:
+ * Purpose:
*
* Return: Success: zero
*
@@ -378,7 +378,7 @@ main(int argc, char *argv[])
goto error;
}
if (H5Pclose(xfer)<0) goto error;
-
+
/* Parse command-line options */
for (i=1, j=0; i<argc; i++) {
if (!strcmp(argv[i], "forward")) {