new_pajeSetVariable (SIMIX_get_clock(), msg, type, 1);
type = getType ("MSG_TASK_STATE", msg->type);
- new_pajePushState (MSG_get_clock(), msg, type, "created");
+ val_t value = getValueByName ("created", type);
+ new_pajePushState (MSG_get_clock(), msg, type, value);
}
}
if (TRACE_msg_task_is_enabled()){
container_t task_container = getContainer (task->name);
type_t type = getType ("MSG_TASK_STATE", task_container->type);
- new_pajePushState (MSG_get_clock(), task_container, type, "MSG_task_execute");
+ val_t value = getValueByName ("MSG_task_execute", type);
+ new_pajePushState (MSG_get_clock(), task_container, type, value);
}
if (TRACE_msg_process_is_enabled()){
container_t process_container = getContainer (instr_process_id(MSG_process_self(), str, len));
type_t type = getType ("MSG_PROCESS_STATE", process_container->type);
- new_pajePushState (MSG_get_clock(), process_container, type, "task_execute");
+ val_t value = getValueByName ("task_execute", type);
+ new_pajePushState (MSG_get_clock(), process_container, type, value);
}
}
container_t process_container = getContainer (instr_process_id(MSG_process_self(), str, len));
type_t type = getType ("MSG_PROCESS_STATE", process_container->type);
- new_pajePushState (MSG_get_clock(), process_container, type, "receive");
+ val_t value = getValueByName ("receive", type);
+ new_pajePushState (MSG_get_clock(), process_container, type, value);
}
}
new_pajeSetVariable (SIMIX_get_clock(), msg, type, 1);
type = getType ("MSG_TASK_STATE", msg->type);
- new_pajePushState (MSG_get_clock(), msg, type, "created");
+ val_t value = getValueByName ("created", type);
+ new_pajePushState (MSG_get_clock(), msg, type, value);
type = getType ("MSG_TASK_LINK", getRootType());
char key[INSTR_DEFAULT_STR_SIZE];
container_t process_container = getContainer (instr_process_id(MSG_process_self(), str, len));
type_t type = getType ("MSG_PROCESS_STATE", process_container->type);
- new_pajePushState (MSG_get_clock(), process_container, type, "send");
+ val_t value = getValueByName ("send", type);
+ new_pajePushState (MSG_get_clock(), process_container, type, value);
char key[INSTR_DEFAULT_STR_SIZE];
snprintf (key, INSTR_DEFAULT_STR_SIZE, "p%lld", task->counter);