Commit 73b11ce2 authored by Philip Carns's avatar Philip Carns

minor fix to job-summary logic to handle wtime_offset


git-svn-id: https://svn.mcs.anl.gov/repos/darshan/trunk@832 3b7491f3-a168-0410-bf4b-c445ed680a29
parent 6e004935
......@@ -248,7 +248,7 @@ while ($line = <TRACE>) {
if($last_read_start > $starttime) {
$last_read_start -= $starttime;
}
if($fields[3] > $runtime && !$warn_read_time_overflow)
if(($fields[3] - $wtime_offset) > $runtime && !$warn_read_time_overflow)
{
$warn_read_time_overflow = 1;
print "Warning: detected read access at time $fields[3] but runtime is only $runtime seconds.\n";
......@@ -273,7 +273,7 @@ while ($line = <TRACE>) {
if($last_write_start > $starttime) {
$last_write_start -= $starttime;
}
if($fields[3] > $runtime && !$warn_write_time_overflow)
if(($fields[3] - $wtime_offset) > $runtime && !$warn_write_time_overflow)
{
$warn_write_time_overflow = 1;
print "Warning: detected write access at time $fields[3] but runtime is only $runtime seconds.\n";
......
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