- if (TRACE_uncategorized()){
- type_t speed_used = Type::getOrNull ("power_used", container->type);
- if (speed_used == nullptr){
- Type::variableNew ("power_used", "0.5 0.5 0.5", container->type);
- }
- }
-
- if (TRACE_smpi_is_enabled() && TRACE_smpi_is_grouped()){
- type_t mpi = Type::getOrNull ("MPI", container->type);
- if (mpi == nullptr){
- mpi = Type::containerNew("MPI", container->type);
- Type::stateNew ("MPI_STATE", mpi);
- }
- }
-
- if (TRACE_msg_process_is_enabled()) {
- type_t msg_process = Type::getOrNull ("MSG_PROCESS", container->type);
- if (msg_process == nullptr){
- msg_process = Type::containerNew("MSG_PROCESS", container->type);
- type_t state = 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);
- Type::linkNew ("MSG_PROCESS_LINK", PJ_type_get_root(), msg_process, msg_process);
- Type::linkNew ("MSG_PROCESS_TASK_LINK", PJ_type_get_root(), msg_process, msg_process);
- }
- }
-
- if (TRACE_msg_vm_is_enabled()) {
- type_t msg_vm = Type::getOrNull ("MSG_VM", container->type);
- if (msg_vm == nullptr){
- msg_vm = Type::containerNew("MSG_VM", container->type);
- type_t state = 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);
- Type::linkNew ("MSG_VM_LINK", PJ_type_get_root(), msg_vm, msg_vm);
- Type::linkNew ("MSG_VM_PROCESS_LINK", PJ_type_get_root(), msg_vm, msg_vm);
- }
- }
-