- if (TRACE_uncategorized()){
- type_t speed_used = s_type::getOrNull ("power_used", container->type);
- if (speed_used == nullptr){
- s_type::variableNew ("power_used", "0.5 0.5 0.5", container->type);
- }
- }
-
- if (TRACE_smpi_is_enabled() && TRACE_smpi_is_grouped()){
- type_t mpi = s_type::getOrNull ("MPI", container->type);
- if (mpi == nullptr){
- mpi = s_type::containerNew("MPI", container->type);
- s_type::stateNew ("MPI_STATE", mpi);
- }
- }
-
- if (TRACE_msg_process_is_enabled()) {
- type_t msg_process = s_type::getOrNull ("MSG_PROCESS", container->type);
- if (msg_process == nullptr){
- msg_process = s_type::containerNew("MSG_PROCESS", container->type);
- type_t state = s_type::stateNew ("MSG_PROCESS_STATE", msg_process);
- value PJ_value("suspend", "1 0 1", state);
- value::get_or_new("sleep", "1 1 0", state);
- value::get_or_new("receive", "1 0 0", state);
- value::get_or_new("send", "0 0 1", state);
- value::get_or_new("task_execute", "0 1 1", state);
- s_type::linkNew ("MSG_PROCESS_LINK", PJ_type_get_root(), msg_process, msg_process);
- s_type::linkNew ("MSG_PROCESS_TASK_LINK", PJ_type_get_root(), msg_process, msg_process);
- }
- }
-
- if (TRACE_msg_vm_is_enabled()) {
- type_t msg_vm = s_type::getOrNull ("MSG_VM", container->type);
- if (msg_vm == nullptr){
- msg_vm = s_type::containerNew("MSG_VM", container->type);
- type_t state = s_type::stateNew ("MSG_VM_STATE", msg_vm);
- value PJ_value("suspend", "1 0 1", state);
- value::get_or_new("sleep", "1 1 0", state);
- value::get_or_new("receive", "1 0 0", state);
- value::get_or_new("send", "0 0 1", state);
- value::get_or_new("task_execute", "0 1 1", state);
- s_type::linkNew ("MSG_VM_LINK", PJ_type_get_root(), msg_vm, msg_vm);
- s_type::linkNew ("MSG_VM_PROCESS_LINK", PJ_type_get_root(), msg_vm, msg_vm);
- }
- }
-