for sumdetail, ignore the case when EP is negative. (a bug introduced in the previous...
authorGengbin Zheng <gzheng@illinois.edu>
Fri, 5 Nov 2010 01:29:37 +0000 (20:29 -0500)
committerGengbin Zheng <gzheng@illinois.edu>
Fri, 5 Nov 2010 01:29:37 +0000 (20:29 -0500)
src/ck-perf/trace-summary.C

index 5cacdbc64425033c18855540b6548ce393782213..9ac10c6b3ad060b6b052d57f998ff6d72a17d9b3 100644 (file)
@@ -758,7 +758,7 @@ void TraceSummary::endExecute(void)
   }
   binTime += t - ts;
 
-  if (sumDetail)
+  if (sumDetail && execEp >= 0)
       _logPool->updateSummaryDetail(execEp, start, t);
 
   execEp = INVALIDEP;