const sg_host_t* ws_list;
int count = 0;
xbt_dynar_t reclaimed;
static void send_one(int from, int to) {
const sg_host_t* ws_list;
int count = 0;
xbt_dynar_t reclaimed;
static void send_one(int from, int to) {
ws_list = sg_host_list();
reclaimed = xbt_dynar_new(sizeof(bcast_task_t),xbt_free_ref);
ws_list = sg_host_list();
reclaimed = xbt_dynar_new(sizeof(bcast_task_t),xbt_free_ref);
xbt_os_cputimer_start(timer);
send_one(0,sg_host_count());
do {
xbt_os_cputimer_start(timer);
send_one(0,sg_host_count());
do {
} while(!xbt_dynar_is_empty(done));
xbt_os_cputimer_stop(timer);
printf("exec_time:%f\n", xbt_os_timer_elapsed(timer) );
} while(!xbt_dynar_is_empty(done));
xbt_os_cputimer_stop(timer);
printf("exec_time:%f\n", xbt_os_timer_elapsed(timer) );