X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4bb73cb3914b5f7b77a9ec1f8abe728e637cc016..18809c9eaf8282a515da08bda0a2065d362c5957:/include/simgrid/simdag.h diff --git a/include/simgrid/simdag.h b/include/simgrid/simdag.h index 9194eabe67..f689d0d70b 100644 --- a/include/simgrid/simdag.h +++ b/include/simgrid/simdag.h @@ -1,19 +1,20 @@ -/* Copyright (c) 2006-2010, 2012-2018. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2006-2018. The SimGrid Team. All rights reserved. */ /* 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. */ -#ifndef SIMDAG_SIMDAG_H -#define SIMDAG_SIMDAG_H +#ifndef SIMGRID_SIMDAG_H +#define SIMGRID_SIMDAG_H + +#include +#include +#include +#include -#include "simgrid/host.h" -#include "simgrid/link.h" -#include "xbt/log.h" -#include "xbt/sysdep.h" #ifdef __cplusplus #include #endif + SG_BEGIN_DECL() /** @brief Link opaque datatype @@ -29,7 +30,7 @@ typedef sg_link_t SD_link_t; A task is some computing amount that can be executed in parallel on several hosts. A task may depend on other tasks, which means that the task cannot start until the other tasks are done. - Each task has a \ref e_SD_task_state_t "state" indicating whether the task is scheduled, running, done, ... + Each task has a @ref e_SD_task_state_t "state" indicating whether the task is scheduled, running, done, ... */ typedef struct s_SD_task_t* SD_task_t; @@ -65,7 +66,7 @@ typedef enum { * * A task is some working amount that can be executed in parallel on several hosts. * A task may depend on other tasks, which means that the task cannot start until the other tasks are done. - * Each task has a \ref e_SD_task_state_t "state" indicating whether the task is scheduled, running, done, ... + * Each task has a @ref e_SD_task_state_t "state" indicating whether the task is scheduled, running, done, ... * * @see SD_task_t, @see SD_task_dependency_api * @{ @@ -114,7 +115,7 @@ XBT_PUBLIC void SD_task_schedulel(SD_task_t task, int count, ...); * * For example, create a pure computation task (i.e., with no communication) like this: * - * SD_task_schedule(task, my_host_count, my_host_list, my_flops_amount, SD_SCHED_NO_COST, my_rate); + * SD_task_schedule(task, my_host_count, my_host_list, my_flops_amount, SD_SCHED_NO_COST, my_rate) */ #define SD_SCHED_NO_COST NULL