/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
double sender_time = *((double*)(pong_task->data));
double communication_time = MSG_get_clock() - sender_time;
double sender_time = *((double*)(pong_task->data));
double communication_time = MSG_get_clock() - sender_time;
xbt_free(pong_task->data);
MSG_task_destroy(pong_task);
XBT_INFO("Pong time (bandwidth bound): %.3f", communication_time);
xbt_free(pong_task->data);
MSG_task_destroy(pong_task);
XBT_INFO("Pong time (bandwidth bound): %.3f", communication_time);
double sender_time = *((double*)(ping_task->data));
double communication_time = MSG_get_clock() - sender_time;
double sender_time = *((double*)(ping_task->data));
double communication_time = MSG_get_clock() - sender_time;
xbt_free(ping_task->data);
MSG_task_destroy(ping_task);
XBT_INFO(" Ping time (latency bound) %f", communication_time);
xbt_free(ping_task->data);
MSG_task_destroy(ping_task);
XBT_INFO(" Ping time (latency bound) %f", communication_time);