[Darshan-commits] [Darshan] branch, dev-modular, updated. darshan-2.3.1-pre2-46-g1c3f369
Service Account
git at mcs.anl.gov
Tue Mar 3 15:18:01 CST 2015
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, dev-modular has been updated
via 1c3f36906e32f8acd563d09071a3b3e044ef7c81 (commit)
from cb17024a79ffee1c5521dabe1fcf67dc83ac2c26 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 1c3f36906e32f8acd563d09071a3b3e044ef7c81
Author: Shane Snyder <ssnyder at mcs.anl.gov>
Date: Tue Mar 3 15:17:42 2015 -0600
instrumentation bug fix
-----------------------------------------------------------------------
Summary of changes:
darshan-runtime/lib/darshan-core.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Diff of changes:
diff --git a/darshan-runtime/lib/darshan-core.c b/darshan-runtime/lib/darshan-core.c
index e76f6dd..740394e 100644
--- a/darshan-runtime/lib/darshan-core.c
+++ b/darshan-runtime/lib/darshan-core.c
@@ -417,8 +417,6 @@ static void darshan_core_shutdown()
rec1 = DARSHAN_MPI_CALL(PMPI_Wtime)();
/* write the record name->id hash to the log file */
ret = darshan_log_write_record_hash(log_fh, final_core, &log_header.rec_map);
- if(internal_timing_flag)
- rec2 = DARSHAN_MPI_CALL(PMPI_Wtime)();
/* error out if unable to write record hash */
DARSHAN_MPI_CALL(PMPI_Allreduce)(&ret, &all_ret, 1, MPI_INT,
@@ -435,6 +433,8 @@ static void darshan_core_shutdown()
darshan_core_cleanup(final_core);
return;
}
+ if(internal_timing_flag)
+ rec2 = DARSHAN_MPI_CALL(PMPI_Wtime)();
/* TODO: would be nice to factor this out somehow ... a lot to look at */
/* loop over globally used darshan modules and:
@@ -680,12 +680,12 @@ static void darshan_core_shutdown()
printf("darshan:log_open\t%d\t%f\n", nprocs, open_slowest);
printf("darshan:job_write\t%d\t%f\n", nprocs, job_slowest);
printf("darshan:hash_write\t%d\t%f\n", nprocs, rec_slowest);
- printf("darshan:header_write\t%d\t%f\n", nprocs, rec_slowest);
+ printf("darshan:header_write\t%d\t%f\n", nprocs, header_slowest);
for(i = 0; i < DARSHAN_MAX_MODS; i++)
{
if(global_mod_use_count[i])
printf("darshan:%s_shutdown\t%d\t%f\n", darshan_module_names[i],
- nprocs, rec_slowest);
+ nprocs, mod_slowest[i]);
}
printf("darshan:core_shutdown\t%d\t%f\n", nprocs, all_slowest);
}
hooks/post-receive
--
More information about the Darshan-commits
mailing list