/* 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. */
-#include <stdlib.h>
#include <stdio.h>
#include "simgrid/simdag.h"
-#include "xbt/log.h"
-#include "xbt/ex.h"
-#include <string.h>
#include "xbt/xbt_os_time.h"
XBT_LOG_NEW_DEFAULT_CATEGORY(goal, "The GOAL loader into SimDag");
typedef struct {
- int i, j, k;
-} s_bcast_task_t,*bcast_task_t;
-
-
+ int i;
+ int j;
+ int k;
+} s_bcast_task_t;
+typedef s_bcast_task_t *bcast_task_t;
const sg_host_t* ws_list;
int count = 0;
xbt_dynar_t reclaimed;
static void send_one(int from, int to) {
- //XBT_DEBUG("send_one(%d, %d)",from,to);
if (count %100000 == 0)
XBT_INFO("Sending task #%d",count);
SD_task_watch(task,SD_DONE);
}
-
int main(int argc, char **argv) {
xbt_os_timer_t timer = xbt_os_timer_new();