Commit c68b00a9 authored by Shane Snyder's avatar Shane Snyder

eliminate possible shutdown timing skew

parent 099470b3
......@@ -349,6 +349,8 @@ void darshan_core_shutdown()
if(getenv("DARSHAN_INTERNAL_TIMING"))
internal_timing_flag = 1;
/* synchronize before getting start time */
DARSHAN_MPI_CALL(PMPI_Barrier)(MPI_COMM_WORLD);
start_log_time = DARSHAN_MPI_CALL(PMPI_Wtime)();
/* disable darhan-core while we shutdown */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment