Changed the note for tracing comm op to differentiate the ops
authorChao Mei <chaomei2@illinois.edu>
Thu, 28 Oct 2010 23:50:16 +0000 (18:50 -0500)
committerChao Mei <chaomei2@illinois.edu>
Thu, 28 Oct 2010 23:50:16 +0000 (18:50 -0500)
src/arch/mpi/machine.c

index 80c03c5ac0267a2ea6ee88a4eda1210115ac214b..4133f63c17befb3e492944a8cc277c2963e5b7d0 100644 (file)
@@ -764,7 +764,7 @@ int PumpMsgs(void)
        traceChangeLastTimestamp(CpvAccess(projTraceStart));
        traceEndCommOp(msg);
        char tmp[32];
        traceChangeLastTimestamp(CpvAccess(projTraceStart));
        traceEndCommOp(msg);
        char tmp[32];
-       sprintf(tmp, "To proc %d", CmiNodeFirst(CmiMyNode())+CMI_DEST_RANK(msg));
+       sprintf(tmp, "MPI_Recv: to proc %d", CmiNodeFirst(CmiMyNode())+CMI_DEST_RANK(msg));
        traceUserSuppliedBracketedNote(tmp, 30, CpvAccess(projTraceStart), CmiWallTimer());
 #endif 
        
        traceUserSuppliedBracketedNote(tmp, 30, CpvAccess(projTraceStart), CmiWallTimer());
 #endif 
        
@@ -1210,7 +1210,7 @@ static int SendMsgBuf()
                traceChangeLastTimestamp(CpvAccess(projTraceStart));
                traceEndCommOp(msg);
                char tmp[64];
                traceChangeLastTimestamp(CpvAccess(projTraceStart));
                traceEndCommOp(msg);
                char tmp[64];
-               sprintf(tmp, "from proc %d to proc %d", msg_tmp->srcpe, CmiNodeFirst(node)+CMI_DEST_RANK(msg));
+               sprintf(tmp, "MPI_Isend: from proc %d to proc %d", msg_tmp->srcpe, CmiNodeFirst(node)+CMI_DEST_RANK(msg));
                traceUserSuppliedBracketedNote(tmp, 40, CpvAccess(projTraceStart), CmiWallTimer());
 #endif
                
                traceUserSuppliedBracketedNote(tmp, 40, CpvAccess(projTraceStart), CmiWallTimer());
 #endif