/** test the trace integration cpu model */
int test_trace(int argc, char *argv[])
{
- m_task_t task;
+ msg_task_t task;
double task_comp_size = 2800;
double task_prio = 1.0;
/** Main function */
int main(int argc, char *argv[])
{
- MSG_error_t res = MSG_OK;
+ msg_error_t res = MSG_OK;
/* Verify if the platform xml file was passed by command line. */
- MSG_global_init(&argc, argv);
+ MSG_init(&argc, argv);
if (argc < 2) {
printf("Usage: %s test_trace_integration_model.xml\n", argv[0]);
exit(1);
/* Run the example. */
res = MSG_main();
- MSG_clean();
-
if (res == MSG_OK)
return 0;
else