From f0ee8b2883b714536dc7539b25237efd777ad01e Mon Sep 17 00:00:00 2001 From: kmu Date: Wed, 22 Jan 2020 14:15:40 -0600 Subject: not use hdf5 private header --- tools/test/perform/pio_perf.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/test/perform/pio_perf.c b/tools/test/perform/pio_perf.c index 74855cb..1a40f44 100644 --- a/tools/test/perform/pio_perf.c +++ b/tools/test/perform/pio_perf.c @@ -59,7 +59,6 @@ #include #include -#include "H5private.h" #include "hdf5.h" #ifdef H5_HAVE_PARALLEL @@ -81,6 +80,9 @@ #define PIO_MPI 0x2 #define PIO_HDF5 0x4 +#define DBL_EPSILON 2.2204460492503131e-16 +#define H5_DBL_ABS_EQUAL(X,Y) (fabsf((X)-(Y)) < DBL_EPSILON) + /* report 0.0 in case t is zero too */ #define MB_PER_SEC(bytes,t) (((t)==0.0) ? 0.0 : ((((double)bytes) / ONE_MB) / (t))) #define MB_PER_SEC(bytes,t) (H5_DBL_ABS_EQUAL((t), 0.0) ? 0.0 : ((((double)bytes) / ONE_MB) / (t))) -- cgit v0.12