updated trace-creation macro
authorGengbin Zheng <gzheng@illinois.edu>
Tue, 21 Jan 2003 16:11:50 +0000 (16:11 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Tue, 21 Jan 2003 16:11:50 +0000 (16:11 +0000)
src/libs/conv-libs/commlib/charm_bind.C

index e5faf2d1407060decb42b7bd1399d83d754a9164..4299702b8825ccb38bc83d9eabb6b366625dfb52 100644 (file)
@@ -88,12 +88,14 @@ void CComlibEachToManyMulticast(comID id, int ep, void *msg,
   CmiSyncSendAndFree(pelist[npe-1], len, env);
 */
 
-  _TRACE_CREATION_N(env, npe);
+  double sendT;
+  _TRACE_ONLY(sendT = CmiTraceTimer());
 
   CpvAccess(_qd)->create();
   EachToManyMulticast(id, len, (void *)env, npe, pelist);
 
   _STATS_RECORD_SEND_BRANCH_N(npe);
+  _TRACE_CREATION_N(env, sendT, npe);
      
 //CkPrintf("EachToManyMulticast: len:%d npe:%d done\n", len, npe);
 }