Commit 9cd55041 authored by Philip Carns's avatar Philip Carns

bug fix to timestamp normalization


git-svn-id: https://svn.mcs.anl.gov/repos/darshan/trunk@864 3b7491f3-a168-0410-bf4b-c445ed680a29
parent b0871728
...@@ -14,6 +14,7 @@ darshan-2.2.9-pre1 ...@@ -14,6 +14,7 @@ darshan-2.2.9-pre1
libraries. libraries.
- Fix "undefined symbol: dlsym" error when using preloaded dynamic library - Fix "undefined symbol: dlsym" error when using preloaded dynamic library
on some platforms, reported by Florin Isaila. on some platforms, reported by Florin Isaila.
- Normalize timestamps to always be relative to MPI_Init().
* Enhancements: * Enhancements:
- Add support (both in documementation and in provided module files) for - Add support (both in documementation and in provided module files) for
Cray PE 2.x. Cray PE 2.x.
......
...@@ -2549,6 +2549,7 @@ static void cp_normalize_timestamps(struct darshan_job_runtime* final_job) ...@@ -2549,6 +2549,7 @@ static void cp_normalize_timestamps(struct darshan_job_runtime* final_job)
{ {
for(j=CP_F_OPEN_TIMESTAMP; j<=CP_F_WRITE_END_TIMESTAMP; j++) for(j=CP_F_OPEN_TIMESTAMP; j<=CP_F_WRITE_END_TIMESTAMP; j++)
{ {
if(final_job->file_array[i].fcounters[j] > final_job->wtime_offset)
final_job->file_array[i].fcounters[j] -= final_job->wtime_offset; final_job->file_array[i].fcounters[j] -= final_job->wtime_offset;
} }
} }
......
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