- host = MSG_host_by_name(argv[1]);
-
- if (host == NULL) {
- XBT_INFO("Unknown host %s. Stopping Now! ", argv[1]);
- abort();
- }
-
- /* Latency */
- time = MSG_get_clock();
- snprintf(sprintf_buffer_la,64, "latency task");
- task_la = MSG_task_create(sprintf_buffer_la, 0.0, task_comm_size_lat, NULL);
- task_la->data = xbt_new(double, 1);
- *(double *) task_la->data = time;
- XBT_INFO("task_la->data = %e", *((double *) task_la->data));
- MSG_task_send(task_la, argv[1]);
-
- /* Bandwidth */
- time = MSG_get_clock();
- snprintf(sprintf_buffer_bw,64, "bandwidth task");
- task_bw = MSG_task_create(sprintf_buffer_bw, 0.0, task_comm_size_bw, NULL);
- task_bw->data = xbt_new(double, 1);
- *(double *) task_bw->data = time;
- XBT_INFO("task_bw->data = %e", *((double *) task_bw->data));
- MSG_task_send(task_bw, argv[1]);
+ msg_task_t task_la = MSG_task_create("Some task", 0.0, 10e8, NULL);
+ MSG_task_send(task_la, "some mailbox");