for BgPrint output, print target processor number for each line.
authorGengbin Zheng <gzheng@illinois.edu>
Fri, 15 Oct 2004 04:22:34 +0000 (04:22 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Fri, 15 Oct 2004 04:22:34 +0000 (04:22 +0000)
src/ck-perf/trace-bluegene.C

index 8893c383939e80c61e9b6835c7a89ffb2c06ffd1..4183d1de1618b6b3123aba752c842ba76d917fda 100644 (file)
@@ -43,6 +43,7 @@ static void writeData(void *data, double t, double recvT, void *ptr)
 void TraceBluegene::writePrint(char* str, double t){
   if (pfp == NULL)
     creatFiles();
+  fprintf(pfp,"[%d] ", CkMyPe());
   fprintf(pfp,str,t);
 }