+ if (value == -1) {
+ if (req->issuer->smx_host)
+ label =
+ bprintf("[(%lu)%s] TestAny FALSE", req->issuer->pid,
+ MSG_host_get_name(req->issuer->smx_host));
+ else
+ label = bprintf("[(%lu)] TestAny FALSE", req->issuer->pid);
+ } else {
+ if (req->issuer->smx_host)
+ label =
+ bprintf("[(%lu)%s] TestAny TRUE [%d of %lu]", req->issuer->pid,
+ MSG_host_get_name(req->issuer->smx_host), value + 1,
+ xbt_dynar_length(simcall_comm_testany__get__comms(req)));
+ else
+ label =
+ bprintf("[(%lu)] TestAny TRUE [%d of %lu]", req->issuer->pid,
+ value + 1,
+ xbt_dynar_length(simcall_comm_testany__get__comms(req)));
+ }
+ break;
+
+ case SIMCALL_MC_RANDOM:
+ if (req->issuer->smx_host)
+ label =
+ bprintf("[(%lu)%s] MC_RANDOM (%d)", req->issuer->pid,
+ MSG_host_get_name(req->issuer->smx_host), value);
+ else
+ label = bprintf("[(%lu)] MC_RANDOM (%d)", req->issuer->pid, value);
+ break;
+
+ case SIMCALL_MC_SNAPSHOT:
+ if (req->issuer->smx_host)
+ label =
+ bprintf("[(%lu)%s] MC_SNAPSHOT", req->issuer->pid,
+ MSG_host_get_name(req->issuer->smx_host));
+ else
+ label = bprintf("[(%lu)] MC_SNAPSHOT", req->issuer->pid);
+ break;
+
+ case SIMCALL_MC_COMPARE_SNAPSHOTS:
+ if (req->issuer->smx_host)
+ label =
+ bprintf("[(%lu)%s] MC_COMPARE_SNAPSHOTS", req->issuer->pid,
+ MSG_host_get_name(req->issuer->smx_host));
+ else
+ label = bprintf("[(%lu)] MC_COMPARE_SNAPSHOTS", req->issuer->pid);