X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c15fa58a2cc08dbf1eb63246b30b38d482f51df2..4a5549091dbdecc6e56ff56e09ef922ba83b1d02:/src/msg/task.c
diff --git a/src/msg/task.c b/src/msg/task.c
index 007160c03a..2cec867ab3 100644
--- a/src/msg/task.c
+++ b/src/msg/task.c
@@ -13,6 +13,18 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(task, msg,
static char sprint_buffer[64];
+/** \defgroup m_task_management Managing functions of Tasks
+ * \brief This section describes the task structure of MSG
+ * (#m_task_t) and the functions for managing it.
+ *
+ * Since most scheduling algorithms rely on a concept of task
+ * that can be either computed locally or
+ * transferred on another processor, it seems to be the
+ * right level of abstraction for our purposes. A task
+ * may then be defined by a computing amount, a
+ * message size and some private data.
+ */
+
/********************************* Task **************************************/
/** \ingroup m_task_management
* \brief Creates a new #m_task_t.
@@ -33,8 +45,8 @@ static char sprint_buffer[64];
* \see m_task_t
* \return The new corresponding object.
*/
-m_task_t MSG_task_create(const char *name, long double compute_duration,
- long double message_size, void *data)
+m_task_t MSG_task_create(const char *name, double compute_duration,
+ double message_size, void *data)
{
simdata_task_t simdata = xbt_new0(s_simdata_task_t,1);
m_task_t task = xbt_new0(s_m_task_t,1);