fixed charmep
authorGengbin Zheng <gzheng@illinois.edu>
Thu, 23 Oct 2008 19:37:47 +0000 (19:37 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Thu, 23 Oct 2008 19:37:47 +0000 (19:37 +0000)
examples/bigsim/tools/log2proj/log2proj.C

index 96a992d70c8e8a6ac26f1911ab191006f6daaa5e..e4d787221984d5b5751bf7815ba63362463e9678 100644 (file)
@@ -61,7 +61,7 @@ Main(CkArgMsg* m)
       LogEntry *beginLog = new LogEntry(bglog->startTime, 2);
       beginLog->event = bglog->msgId.msgID();
       beginLog->pe = bglog->msgId.node();
       LogEntry *beginLog = new LogEntry(bglog->startTime, 2);
       beginLog->event = bglog->msgId.msgID();
       beginLog->pe = bglog->msgId.node();
-      beginLog->eIdx = bglog->charm_ep==-1?0:bglog->charm_ep + 6;   // IMPORTANT: there is chance when trace summary was linked, the EP is shifted by 6
+      beginLog->eIdx = bglog->charm_ep==-1?0:bglog->charm_ep
       beginLog->pup(p);
       delete beginLog;
 
       beginLog->pup(p);
       delete beginLog;