static type_t s_type_container_new (const char *name, type_t father);
static type_t s_type_event_new (const char *name, type_t father);
static type_t s_type_variable_new (const char *name, const char *color, type_t father);
+ static type_t s_type_link_new (const char *name, type_t father, type_t source, type_t dest);
};
//--------------------------------------------------
/* instr_paje_types.c */
XBT_PRIVATE void PJ_type_release ();
XBT_PUBLIC(type_t) PJ_type_get_root ();
-type_t PJ_type_link_new (const char *name, type_t father, type_t source, type_t dest);
XBT_PRIVATE type_t PJ_type_state_new (const char *name, type_t father);
XBT_PUBLIC(type_t) PJ_type_get (const char *name, const type_t father);
XBT_PRIVATE XBT_PRIVATE void PJ_type_free (type_t type);
dst->type->name, dst->type->id);
type_t link_type = s_type::s_type_get_or_null (link_typename, father->type);
if (link_type == nullptr){
- link_type = PJ_type_link_new (link_typename, father->type, src->type, dst->type);
+ link_type = s_type::s_type_link_new (link_typename, father->type, src->type, dst->type);
}
//register EDGE types for triva configuration
mpi = s_type::s_type_container_new("MPI", root->type);
if (not TRACE_smpi_is_grouped())
PJ_type_state_new ("MPI_STATE", mpi);
- PJ_type_link_new ("MPI_LINK", PJ_type_get_root(), mpi, mpi);
+ s_type::s_type_link_new ("MPI_LINK", PJ_type_get_root(), mpi, mpi);
}
}
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);
- PJ_type_link_new ("MSG_PROCESS_LINK", PJ_type_get_root(), msg_process, msg_process);
- PJ_type_link_new ("MSG_PROCESS_TASK_LINK", PJ_type_get_root(), msg_process, msg_process);
+ s_type::s_type_link_new ("MSG_PROCESS_LINK", PJ_type_get_root(), msg_process, msg_process);
+ s_type::s_type_link_new ("MSG_PROCESS_TASK_LINK", PJ_type_get_root(), msg_process, msg_process);
}
}
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);
- PJ_type_link_new ("MSG_VM_LINK", PJ_type_get_root(), msg_vm, msg_vm);
- PJ_type_link_new ("MSG_VM_PROCESS_LINK", PJ_type_get_root(), msg_vm, msg_vm);
+ s_type::s_type_link_new ("MSG_VM_LINK", PJ_type_get_root(), msg_vm, msg_vm);
+ s_type::s_type_link_new ("MSG_VM_PROCESS_LINK", PJ_type_get_root(), msg_vm, msg_vm);
}
}