- 06 Mar, 2014 1 commit
-
-
fisaila authored
1. Added the counters in darshan-log-format.h 2. Added the names of the counters in darshan-util/darshan-logutils.c 3. Added the new profiled function declarations (e.g., PMPI_Sent) in darshan-runtime/darshan-dynamic.h - DARSHAN_EXTERN_DECL(...) 4. Added the new profiled function declarations (e.g., PMPI_Sent) in darshan-runtime/lib/darshan-mpi-init-finalize.c - DARSHAN_FORWARD_DECL(...) - MAP_OR_FAIL(...) 5. Updated the reducer in darshan-runtime/lib/darshan-mpi-io.c in the function: static void darshan_file_reduce(void* infile_v, void* inoutfile_v, int *len, MPI_Datatype *datatype); git-svn-id: https://svn.mcs.anl.gov/repos/darshan/branches/darshan-florin-extensions-addcounters@827 3b7491f3-a168-0410-bf4b-c445ed680a29
-
- 24 Jan, 2014 1 commit
-
-
fisaila authored
Functionality: An epoch is enclosed by: darshan_start_epoch(); darshan_stop_epoch(); There is one log file per epoch and the epoch number appears in the file name. If epoches are not used the functionality should be the same as before. Implementation: I tried to minimally modify the code (only darshan-mpi-io.c was modified). 1) darshan_shutdown became: void darshan_shutdown_epoch(int timing_flag) 5 lines were commented and moved to the new darshan_shutdown 2) void darshan_shutdown(int timing_flag) If no epoch is used just calls darshan_shutdown_epoch else for each epoch restore the counters from the end of epoch and call darshan_shutdown_epoch 3) void darshan_start_epoch(void) just resets the counters from darshan_global_job 4) void darshan_end_epoch(void) saves the counters from darshan_global_job Test: One test has been added in darshan-test/epoch-testing/. I have not performed yet extensive testing. git-svn-id: https://svn.mcs.anl.gov/repos/darshan/branches/darshan-florin-extensions@818 3b7491f3-a168-0410-bf4b-c445ed680a29
-