X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c7b463c9c17665403d001fc59cb649551e93d950..acae87a17fa72c16ce794b55ace1459f24fe17b2:/examples/simdag/sd_typed_tasks_test.c diff --git a/examples/simdag/sd_typed_tasks_test.c b/examples/simdag/sd_typed_tasks_test.c index 9326823e3f..32f3e592ae 100644 --- a/examples/simdag/sd_typed_tasks_test.c +++ b/examples/simdag/sd_typed_tasks_test.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2006, 2007, 2008, 2009, 2010. The SimGrid Team. +/* Copyright (c) 2006-2010, 2012-2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -6,7 +6,7 @@ #include #include -#include "simdag/simdag.h" +#include "simgrid/simdag.h" #include "xbt/ex.h" #include "xbt/log.h" @@ -19,7 +19,8 @@ int main(int argc, char **argv) unsigned int ctr; const char *platform_file; const SD_workstation_t *workstations; - SD_task_t task, taskA, taskB, taskC, taskD, taskE; + SD_task_t task, seq_comp1, e2e_comm, seq_comp2; + SD_task_t par_comp1, redist, par_comp2, par_comp3; xbt_dynar_t changed_tasks; double computation_amount[4]; @@ -43,33 +44,45 @@ int main(int argc, char **argv) workstations = SD_workstation_get_list(); - for (i=0;i