-/* Copyright (c) 2009-2013. The SimGrid Team.
+/* Copyright (c) 2009-2014. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
static Agraph_t *dag_dot;
static bool schedule = true;
-static void dot_task_free(void *task) {
- SD_task_t t = task;
- SD_task_destroy(t);
-}
-
static void dot_task_p_free(void *task) {
SD_task_t *t = task;
SD_task_destroy(*t);
}else{
XBT_WARN("The scheduling is ignored");
}
- SD_task_t task;
- unsigned int count;
xbt_dynar_t computer = NULL;
xbt_dict_cursor_t dict_cursor;
char *computer_name;
xbt_dynar_free(&computer);
}
xbt_dict_free(&computers);
- xbt_dynar_foreach(result,count,task){
- SD_task_destroy(task);
- }
+ xbt_dynar_free(&result);
return NULL;
}
char *name = agnameof(node);
double amount = atof(agget(node, (char *) "size"));
- double alpha;
+ double alpha = 0.0;
if (seq_or_par == sequential){
XBT_DEBUG("See <job id=%s amount =%.0f>", name, amount);