X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f3a7be8a83ef66f846254955a4c5a0af0abd25a4..8f1ee3e1004fed6acef03da662a0590da900a7d8:/include/simgrid/simdag.h diff --git a/include/simgrid/simdag.h b/include/simgrid/simdag.h index 766fe1e3df..fc162d65b5 100644 --- a/include/simgrid/simdag.h +++ b/include/simgrid/simdag.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2006-2018. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2006-2019. 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. */ @@ -15,16 +15,6 @@ #include #endif -#ifdef MIN -#undef MIN -#endif -#define MIN(a, b) ((a) < (b) ? (a) : (b)) - -#ifdef MAX -#undef MAX -#endif -#define MAX(a, b) ((a) > (b) ? (a) : (b)) - SG_BEGIN_DECL() /** @brief Link opaque datatype @@ -40,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; @@ -76,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 * @{ @@ -125,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