diff options
Diffstat (limited to 'tools/src/h5perf')
-rw-r--r-- | tools/src/h5perf/pio_engine.c | 11 | ||||
-rw-r--r-- | tools/src/h5perf/pio_perf.c | 17 | ||||
-rw-r--r-- | tools/src/h5perf/sio_engine.c | 16 | ||||
-rw-r--r-- | tools/src/h5perf/sio_perf.c | 12 |
4 files changed, 0 insertions, 56 deletions
diff --git a/tools/src/h5perf/pio_engine.c b/tools/src/h5perf/pio_engine.c index cbe9a17..34101af 100644 --- a/tools/src/h5perf/pio_engine.c +++ b/tools/src/h5perf/pio_engine.c @@ -10,10 +10,6 @@ * help@hdfgroup.org. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ -/* - * Author: Albert Cheng of NCSA, Oct 24, 2001. - */ - #include "hdf5.h" #include <errno.h> @@ -132,7 +128,6 @@ static off_t sqrto(off_t); * Function: do_pio * Purpose: PIO Engine where Parallel IO are executed. * Return: results - * Programmer: Albert Cheng, Bill Wendling 2001/12/12 */ results do_pio(parameters param) @@ -379,7 +374,6 @@ done: * doing. Also, place in the /tmp/{$USER,$LOGIN} directory if * USER or LOGIN are specified in the environment. * Return: Pointer to filename or NULL - * Programmer: Bill Wendling, 21. November 2001 */ static char * pio_create_filename(iotype iot, const char *base_name, char *fullname, size_t size) @@ -493,7 +487,6 @@ pio_create_filename(iotype iot, const char *base_name, char *fullname, size_t si * Function: do_write * Purpose: Write the required amount of data to the file. * Return: SUCCESS or FAIL - * Programmer: Albert Cheng, Bill Wendling, 2001/12/13 */ static herr_t do_write(results *res, file_descr *fd, parameters *parms, long ndsets, off_t nbytes, size_t buf_size, @@ -1508,7 +1501,6 @@ sqrto(off_t x) * Function: do_read * Purpose: read the required amount of data from the file. * Return: SUCCESS or FAIL - * Programmer: Albert Cheng 2001/12/13 */ static herr_t do_read(results *res, file_descr *fd, parameters *parms, long ndsets, off_t nbytes, size_t buf_size, @@ -2489,7 +2481,6 @@ done: * Function: do_fopen * Purpose: Open the specified file. * Return: SUCCESS or FAIL - * Programmer: Albert Cheng, Bill Wendling, 2001/12/13 */ static herr_t do_fopen(parameters *param, char *fname, file_descr *fd /*out*/, int flags) @@ -2598,7 +2589,6 @@ done: * Function: do_fclose * Purpose: Close the specified file descriptor. * Return: SUCCESS or FAIL - * Programmer: Albert Cheng, Bill Wendling, 2001/12/13 */ static herr_t do_fclose(iotype iot, file_descr *fd /*out*/) @@ -2654,7 +2644,6 @@ done: * Only Proc 0 of the PIO communicator will do the cleanup. * Other processes just return. * Return: void - * Programmer: Albert Cheng 2001/12/12 */ static void do_cleanupfile(iotype iot, char *fname) diff --git a/tools/src/h5perf/pio_perf.c b/tools/src/h5perf/pio_perf.c index b423f0d..295b580 100644 --- a/tools/src/h5perf/pio_perf.c +++ b/tools/src/h5perf/pio_perf.c @@ -205,7 +205,6 @@ static off_t squareo(off_t); * Purpose: Start things up. Initialize MPI and then call the test looping * function. * Return: EXIT_SUCCESS or EXIT_FAILURE - * Programmer: Bill Wendling, 30. October 2001 */ int main(int argc, char *argv[]) @@ -301,7 +300,6 @@ squareo(off_t x) * this out. * * Return: Nothing - * Programmer: Bill Wendling, 30. October 2001 */ static void run_test_loop(struct options *opts) @@ -395,7 +393,6 @@ run_test_loop(struct options *opts) * Function: run_test * Purpose: Inner loop call to actually run the I/O test. * Return: Nothing - * Programmer: Bill Wendling, 18. December 2001 */ static int run_test(iotype iot, parameters parms, struct options *opts) @@ -710,7 +707,6 @@ run_test(iotype iot, parameters parms, struct options *opts) * Function: output_all_info * Purpose: * Return: Nothing - * Programmer: Bill Wendling, 29. January 2002 */ static void output_all_info(minmax *mm, int count, int indent_level) @@ -732,7 +728,6 @@ output_all_info(minmax *mm, int count, int indent_level) * Purpose: Process environment variables setting to set up MPI Info * object. * Return: 0 if all is fine; otherwise non-zero. - * Programmer: Albert Cheng, 2002/05/21. */ int h5_set_info_object(void) @@ -824,7 +819,6 @@ h5_set_info_object(void) * Function: h5_dump_info_object * Purpose: Display content of an MPI Info object * Return: void - * Programmer: Albert Cheng 2002/05/21 */ void h5_dump_info_object(MPI_Info info) @@ -853,7 +847,6 @@ h5_dump_info_object(MPI_Info info) * Function: get_minmax * Purpose: Gather all the min, max and total of val. * Return: Nothing - * Programmer: Bill Wendling, 21. December 2001 */ static void get_minmax(minmax *mm, double val) @@ -873,7 +866,6 @@ get_minmax(minmax *mm, double val) * Purpose: Accumulate the minimum, maximum, and average of the times * across all processes. * Return: TOTAL_MM - the total of all of these. - * Programmer: Bill Wendling, 21. December 2001 */ static minmax accumulate_minmax_stuff(minmax *mm, int count) @@ -907,7 +899,6 @@ accumulate_minmax_stuff(minmax *mm, int count) * is a global variable. * Return: SUCCESS on success. * FAIL otherwise. - * Programmer: Bill Wendling, 19. December 2001 */ static int create_comm_world(int num_procs, int *doing_pio) @@ -965,7 +956,6 @@ error_done: * pio_comm_g global variable. * Return: SUCCESS on success. * FAIL otherwise. - * Programmer: Bill Wendling, 19. December 2001 */ static int destroy_comm_world(void) @@ -984,7 +974,6 @@ destroy_comm_world(void) * Purpose: Print information about the time & bandwidth for a given * minmax & # of iterations. * Return: Nothing - * Programmer: Quincey Koziol, 9. May 2002 */ static void output_results(const struct options *opts, const char *name, minmax *table, int table_size, off_t data_size) @@ -1047,7 +1036,6 @@ output_times(const struct options *opts, const char *name, minmax *table, int ta * Function: output_report * Purpose: Print a line of the report. Only do so if I'm the 0 process. * Return: Nothing - * Programmer: Bill Wendling, 19. December 2001 */ static void output_report(const char *fmt, ...) @@ -1072,7 +1060,6 @@ output_report(const char *fmt, ...) * Purpose: Print spaces to indent a new line of text for pretty printing * things. * Return: Nothing - * Programmer: Bill Wendling, 29. October 2001 */ static void print_indent(int indent) @@ -1245,7 +1232,6 @@ report_parameters(struct options *opts) * Purpose: Parse the command line options and return a STRUCT OPTIONS * structure which will need to be freed by the calling function. * Return: Pointer to an OPTIONS structure - * Programmer: Bill Wendling, 31. October 2001 */ static struct options * parse_command_line(int argc, const char *const *argv) @@ -1495,7 +1481,6 @@ parse_command_line(int argc, const char *const *argv) * Return: The size as a off_t because this is related to file size. * If an unknown size indicator is used, then the program will * exit with EXIT_FAILURE as the return value. - * Programmer: Bill Wendling, 18. December 2001 */ static off_t parse_size_directive(const char *size) @@ -1535,7 +1520,6 @@ parse_size_directive(const char *size) * Function: usage * Purpose: Print a usage message and then exit. * Return: Nothing - * Programmer: Bill Wendling, 31. October 2001 */ static void usage(const char *prog) @@ -1675,7 +1659,6 @@ usage(const char *prog) * Purpose: Dummy main() function for if HDF5 was configured without * parallel stuff. * Return: EXIT_SUCCESS - * Programmer: Bill Wendling, 14. November 2001 */ int main(void) diff --git a/tools/src/h5perf/sio_engine.c b/tools/src/h5perf/sio_engine.c index cc4a28e..3979cca 100644 --- a/tools/src/h5perf/sio_engine.c +++ b/tools/src/h5perf/sio_engine.c @@ -10,10 +10,6 @@ * help@hdfgroup.org. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ -/* - * Author: Christian Chilan, April 2008 - */ - #include "hdf5.h" #include <errno.h> @@ -122,7 +118,6 @@ static hid_t h5dxpl = H5I_INVALID_HID; /* Dataset transfer property * Function: do_sio * Purpose: SIO Engine where IO are executed. * Return: results - * Programmer: Christian Chilan, April, 2008 */ void do_sio(parameters param, results *res) @@ -281,7 +276,6 @@ done: * doing. Also, place in the /tmp/{$USER,$LOGIN} directory if * USER or LOGIN are specified in the environment. * Return: Pointer to filename or NULL - * Programmer: Bill Wendling, 21. November 2001 */ static char * sio_create_filename(iotype iot, const char *base_name, char *fullname, size_t size, parameters *param) @@ -401,7 +395,6 @@ sio_create_filename(iotype iot, const char *base_name, char *fullname, size_t si * Function: do_write * Purpose: Write the required amount of data to the file. * Return: SUCCESS or FAIL - * Programmer: Christian Chilan, April, 2008 */ static herr_t do_write(results *res, file_descr *fd, parameters *parms, void *buffer) @@ -615,7 +608,6 @@ done: * Function: dset_write * Purpose: Write buffer into the dataset. * Return: SUCCESS or FAIL - * Programmer: Christian Chilan, April, 2008 */ static herr_t dset_write(int local_dim, file_descr *fd, parameters *parms, void *buffer) @@ -697,7 +689,6 @@ done: * Function: posix_buffer_write * Purpose: Write buffer into the POSIX file considering contiguity. * Return: SUCCESS or FAIL - * Programmer: Christian Chilan, April, 2008 */ static herr_t @@ -757,7 +748,6 @@ done: * Function: do_read * Purpose: Read the required amount of data to the file. * Return: SUCCESS or FAIL - * Programmer: Christian Chilan, April, 2008 */ static herr_t do_read(results *res, file_descr *fd, parameters *parms, void *buffer) @@ -934,7 +924,6 @@ done: * Function: dset_read * Purpose: Read buffer into the dataset. * Return: SUCCESS or FAIL - * Programmer: Christian Chilan, April, 2008 */ static herr_t @@ -995,7 +984,6 @@ done: * Function: posix_buffer_read * Purpose: Read buffer into the POSIX file considering contiguity. * Return: SUCCESS or FAIL - * Programmer: Christian Chilan, April, 2008 */ static herr_t @@ -1049,7 +1037,6 @@ done: * Function: do_fopen * Purpose: Open the specified file. * Return: SUCCESS or FAIL - * Programmer: Albert Cheng, Bill Wendling, 2001/12/13 */ static herr_t do_fopen(parameters *param, char *fname, file_descr *fd /*out*/, int flags) @@ -1117,7 +1104,6 @@ done: * Function: set_vfd * Purpose: Sets file driver. * Return: SUCCESS or FAIL - * Programmer: Christian Chilan, April, 2008 */ hid_t @@ -1214,7 +1200,6 @@ set_vfd(parameters *param) * Function: do_fclose * Purpose: Close the specified file descriptor. * Return: SUCCESS or FAIL - * Programmer: Albert Cheng, Bill Wendling, 2001/12/13 */ static herr_t do_fclose(iotype iot, file_descr *fd /*out*/) @@ -1260,7 +1245,6 @@ done: * Function: do_cleanupfile * Purpose: Cleanup temporary file unless HDF5_NOCLEANUP is set. * Return: void - * Programmer: Albert Cheng 2001/12/12 */ static void do_cleanupfile(iotype iot, char *filename) diff --git a/tools/src/h5perf/sio_perf.c b/tools/src/h5perf/sio_perf.c index 79d025d..6fd3760 100644 --- a/tools/src/h5perf/sio_perf.c +++ b/tools/src/h5perf/sio_perf.c @@ -181,7 +181,6 @@ static void report_parameters(struct options *opts); * Function: main * Purpose: Start things up. * Return: EXIT_SUCCESS or EXIT_FAILURE - * Programmer: Bill Wendling, 30. October 2001 */ int main(int argc, char *argv[]) @@ -235,7 +234,6 @@ finish: * this out. * * Return: Nothing - * Programmer: Bill Wendling, 30. October 2001 */ static void run_test_loop(struct options *opts) @@ -288,7 +286,6 @@ run_test_loop(struct options *opts) * Function: run_test * Purpose: Inner loop call to actually run the I/O test. * Return: Nothing - * Programmer: Bill Wendling, 18. December 2001 */ static int run_test(iotype iot, parameters parms, struct options *opts) @@ -519,7 +516,6 @@ run_test(iotype iot, parameters parms, struct options *opts) * Function: output_all_info * Purpose: * Return: Nothing - * Programmer: Bill Wendling, 29. January 2002 */ static void output_all_info(minmax *mm, int count, int indent_level) @@ -540,7 +536,6 @@ output_all_info(minmax *mm, int count, int indent_level) * Function: get_minmax * Purpose: Gather all the min, max and total of val. * Return: Nothing - * Programmer: Bill Wendling, 21. December 2001 */ static void @@ -556,7 +551,6 @@ get_minmax(minmax *mm, double val) * Purpose: Accumulate the minimum, maximum, and average of the times * across all processes. * Return: TOTAL_MM - the total of all of these. - * Programmer: Bill Wendling, 21. December 2001 */ static void accumulate_minmax_stuff(const minmax *mm, int count, minmax *total_mm) @@ -586,7 +580,6 @@ accumulate_minmax_stuff(const minmax *mm, int count, minmax *total_mm) * Purpose: Print information about the time & bandwidth for a given * minmax & # of iterations. * Return: Nothing - * Programmer: Quincey Koziol, 9. May 2002 */ static void output_results(const struct options *opts, const char *name, minmax *table, int table_size, off_t data_size) @@ -626,7 +619,6 @@ output_results(const struct options *opts, const char *name, minmax *table, int * Function: output_report * Purpose: Print a line of the report. Only do so if I'm the 0 process. * Return: Nothing - * Programmer: Bill Wendling, 19. December 2001 */ static void output_report(const char *fmt, ...) @@ -645,7 +637,6 @@ output_report(const char *fmt, ...) * Purpose: Print spaces to indent a new line of text for pretty printing * things. * Return: Nothing - * Programmer: Bill Wendling, 29. October 2001 */ static void print_indent(int indent) @@ -800,7 +791,6 @@ report_parameters(struct options *opts) * Purpose: Parse the command line options and return a STRUCT OPTIONS * structure which will need to be freed by the calling function. * Return: Pointer to an OPTIONS structure - * Programmer: Bill Wendling, 31. October 2001 */ static struct options * parse_command_line(int argc, const char *const *argv) @@ -1166,7 +1156,6 @@ parse_command_line(int argc, const char *const *argv) * Return: The size as a off_t because this is related to file size. * If an unknown size indicator is used, then the program will * exit with EXIT_FAILURE as the return value. - * Programmer: Bill Wendling, 18. December 2001 */ static hsize_t @@ -1210,7 +1199,6 @@ parse_size_directive(const char *size) * Function: usage * Purpose: Print a usage message and then exit. * Return: Nothing - * Programmer: Bill Wendling, 31. October 2001 */ static void usage(const char *prog) |