+ label = bprintf("[(%lu)] iRecv", req->issuer->pid);
+ break;
+
+ case SIMCALL_COMM_WAIT:
+ act = simcall_comm_wait__get__comm(req);
+ if (value == -1) {
+ if (req->issuer->smx_host)
+ label =
+ bprintf("[(%lu)%s] WaitTimeout", req->issuer->pid,
+ MSG_host_get_name(req->issuer->smx_host));
+ else
+ label = bprintf("[(%lu)] WaitTimeout", req->issuer->pid);
+ } else {
+ if (req->issuer->smx_host)
+ label =
+ bprintf("[(%lu)%s] Wait [(%lu)->(%lu)]", req->issuer->pid,
+ MSG_host_get_name(req->issuer->smx_host),
+ act->comm.src_proc ? act->comm.src_proc->pid : 0,
+ act->comm.dst_proc ? act->comm.dst_proc->pid : 0);
+ else
+ label =
+ bprintf("[(%lu)] Wait [(%lu)->(%lu)]", req->issuer->pid,
+ act->comm.src_proc ? act->comm.src_proc->pid : 0,
+ act->comm.dst_proc ? act->comm.dst_proc->pid : 0);
+ }