diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2015-09-16 15:23:16 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2015-09-16 15:23:16 (GMT) |
commit | d90e4acfa7b0d1be202d56441e9912417147af26 (patch) | |
tree | 82b9d8588618c73b993520a0a888988bd2b9ce7b /tools/perform/pio_perf.c | |
parent | 2385b2b0ad832825bd9009237149e1581326c044 (diff) | |
download | hdf5-d90e4acfa7b0d1be202d56441e9912417147af26.zip hdf5-d90e4acfa7b0d1be202d56441e9912417147af26.tar.gz hdf5-d90e4acfa7b0d1be202d56441e9912417147af26.tar.bz2 |
[svn-r27801] Minor warning fixes in the tools.
Tested on: jam (too minor for h5committest)
Diffstat (limited to 'tools/perform/pio_perf.c')
-rw-r--r-- | tools/perform/pio_perf.c | 59 |
1 files changed, 3 insertions, 56 deletions
diff --git a/tools/perform/pio_perf.c b/tools/perform/pio_perf.c index 4db2249..509513b 100644 --- a/tools/perform/pio_perf.c +++ b/tools/perform/pio_perf.c @@ -1673,60 +1673,8 @@ usage(const char *prog) printf(" HDF5_MPI_INFO MPI INFO object key=value separated by ;\n"); printf(" HDF5_PARAPREFIX Paralllel data files prefix\n"); fflush(stdout); - } -} - -void debug_start_stop_time(io_time_t *pt, timer_type t, int start_stop) -{ -#if 1 - if (pio_debug_level >= 4) { - const char *msg; - int myrank; - - MPI_Comm_rank(pio_comm_g, &myrank); - - switch (t) { - case HDF5_FILE_OPENCLOSE: - msg = "File Open/Close"; - break; - case HDF5_DATASET_CREATE: - msg = "Dataset Create"; - break; - case HDF5_MPI_WRITE: - msg = "MPI Write"; - break; - case HDF5_MPI_READ: - msg = "MPI Read"; - break; - case HDF5_FINE_WRITE_FIXED_DIMS: - msg = "Fine Write"; - break; - case HDF5_FINE_READ_FIXED_DIMS: - msg = "Fine Read"; - break; - case HDF5_GROSS_WRITE_FIXED_DIMS: - msg = "Gross Write"; - break; - case HDF5_GROSS_READ_FIXED_DIMS: - msg = "Gross Read"; - break; - case HDF5_RAW_WRITE_FIXED_DIMS: - msg = "Raw Write"; - break; - case HDF5_RAW_READ_FIXED_DIMS: - msg = "Raw Read"; - break; - default: - msg = "Unknown Timer"; - break; - } - - fprintf(output, " Proc %d: %s %s: %.2f\n", myrank, msg, - (start_stop == TSTART ? "Start" : "Stop"), - pt->total_time[t]); - } -#endif -} /* debug_start_stop_time */ + } /* end if */ +} /* end usage() */ #else /* H5_HAVE_PARALLEL */ @@ -1736,13 +1684,12 @@ void debug_start_stop_time(io_time_t *pt, timer_type t, int start_stop) * parallel stuff. * Return: EXIT_SUCCESS * Programmer: Bill Wendling, 14. November 2001 - * Modifications: */ int main(void) { printf("No parallel IO performance because parallel is not configured\n"); return EXIT_SUCCESS; -} +} /* end main */ #endif /* !H5_HAVE_PARALLEL */ |