Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Tiny corrections in doc.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Mon, 2 Jul 2012 14:39:55 +0000 (16:39 +0200)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Mon, 2 Jul 2012 14:46:59 +0000 (16:46 +0200)
doc/user_guide/doxygen/bindings.doc
doc/user_guide/doxygen/tracing.doc
doc/user_guide/doxygen/use.doc
src/simix/smx_user.c

index a5e5257..83022e4 100644 (file)
@@ -169,7 +169,7 @@ the full example is distributed in the file examples/lua/master_slave_bypass.lua
 
       \subsubsection MSG_ext_ms_master_lua Master code
 
 
       \subsubsection MSG_ext_ms_master_lua Master code
 
-            as described ine the C native master/Slave exmaple , this function has to be assigned to a m_process_t that will behave as the master.
+            as described in the C native master/Slave example, this function has to be assigned to a msg_process_t that will behave as the master.
 
       Lua style arguments (...) in for the master are interpreted as:
        - the number of tasks to distribute
 
       Lua style arguments (...) in for the master are interpreted as:
        - the number of tasks to distribute
@@ -184,7 +184,7 @@ the full example is distributed in the file examples/lua/master_slave_bypass.lua
 
       \subsubsection MSG_ext_ms_slave_lua Slave code
 
 
       \subsubsection MSG_ext_ms_slave_lua Slave code
 
-      This function has to be assigned to a #m_process_t that has to behave as a slave.
+      This function has to be assigned to a #msg_process_t that has to behave as a slave.
       This function keeps waiting for tasks and executes them as it receives them.
 
       \until end_of_slave
       This function keeps waiting for tasks and executes them as it receives them.
 
       \until end_of_slave
@@ -219,7 +219,7 @@ the full example is distributed in the file examples/lua/master_slave_bypass.lua
 
       \subsubsection MSG_ext_ms_bp_master_lua Master code
 
 
       \subsubsection MSG_ext_ms_bp_master_lua Master code
 
-            as described ine the C native master/Slave exmaple , this function has to be assigned to a m_process_t that will behave as the master.
+            as described in the C native master/Slave example, this function has to be assigned to a msg_process_t that will behave as the master.
 
       Lua style arguments (...) in for the master are interpreted as:
        - the number of tasks to distribute
 
       Lua style arguments (...) in for the master are interpreted as:
        - the number of tasks to distribute
@@ -234,7 +234,7 @@ the full example is distributed in the file examples/lua/master_slave_bypass.lua
 
       \subsubsection MSG_ext_ms_bp_slave_lua Slave code
 
 
       \subsubsection MSG_ext_ms_bp_slave_lua Slave code
 
-      This function has to be assigned to a #m_process_t that has to behave as a slave.
+      This function has to be assigned to a #msg_process_t that has to behave as a slave.
       This function keeps waiting for tasks and executes them as it receives them.
 
       \until end_of_slave
       This function keeps waiting for tasks and executes them as it receives them.
 
       \until end_of_slave
index ad936ed..7f0c4d3 100644 (file)
@@ -48,8 +48,8 @@ $ make
 \section instr_category_functions Tracing categories functions
 \li \c TRACE_category(const char *category)
 \li \c TRACE_category_with_color(const char *category, const char *color)
 \section instr_category_functions Tracing categories functions
 \li \c TRACE_category(const char *category)
 \li \c TRACE_category_with_color(const char *category, const char *color)
-\li \c MSG_task_set_category(m_task_t task, const char *category)
-\li \c MSG_task_get_category(m_task_t task)
+\li \c MSG_task_set_category(msg_task_t task, const char *category)
+\li \c MSG_task_get_category(msg_task_t task)
 \li \c SD_task_set_category(SD_task_t task, const char *category)
 \li \c SD_task_get_category(SD_task_t task)
 
 \li \c SD_task_set_category(SD_task_t task, const char *category)
 \li \c SD_task_get_category(SD_task_t task)
 
@@ -283,19 +283,19 @@ int main (int argc, char **argv)
   TRACE_category_with_color ("computation", "0.3 1 0.4");
   TRACE_category ("finalize");
 
   TRACE_category_with_color ("computation", "0.3 1 0.4");
   TRACE_category ("finalize");
 
-  m_task_t req1 = MSG_task_create("1st_request_task", 10, 10, NULL);
-  m_task_t req2 = MSG_task_create("2nd_request_task", 10, 10, NULL);
-  m_task_t req3 = MSG_task_create("3rd_request_task", 10, 10, NULL);
-  m_task_t req4 = MSG_task_create("4th_request_task", 10, 10, NULL);
+  msg_task_t req1 = MSG_task_create("1st_request_task", 10, 10, NULL);
+  msg_task_t req2 = MSG_task_create("2nd_request_task", 10, 10, NULL);
+  msg_task_t req3 = MSG_task_create("3rd_request_task", 10, 10, NULL);
+  msg_task_t req4 = MSG_task_create("4th_request_task", 10, 10, NULL);
   MSG_task_set_category (req1, "request");
   MSG_task_set_category (req2, "request");
   MSG_task_set_category (req3, "request");
   MSG_task_set_category (req4, "request");
 
   MSG_task_set_category (req1, "request");
   MSG_task_set_category (req2, "request");
   MSG_task_set_category (req3, "request");
   MSG_task_set_category (req4, "request");
 
-  m_task_t comp = MSG_task_create ("comp_task", 100, 100, NULL);
+  msg_task_t comp = MSG_task_create ("comp_task", 100, 100, NULL);
   MSG_task_set_category (comp, "computation");
 
   MSG_task_set_category (comp, "computation");
 
-  m_task_t finalize = MSG_task_create ("finalize", 0, 0, NULL);
+  msg_task_t finalize = MSG_task_create ("finalize", 0, 0, NULL);
   MSG_task_set_category (finalize, "finalize");
 
   //(...)
   MSG_task_set_category (finalize, "finalize");
 
   //(...)
index a403dac..4d24922 100644 (file)
@@ -158,7 +158,7 @@ and an external description of the deployment.
 
 \paragraph MSG_ext_ms_master Master code
 
 
 \paragraph MSG_ext_ms_master Master code
 
-This function has to be assigned to a m_process_t that will behave as
+This function has to be assigned to a msg_process_t that will behave as
 the master. It should not be called directly but either given as a
 parameter to #MSG_process_create() or registered as a public function
 through #MSG_function_register() and then automatically assigned to a
 the master. It should not be called directly but either given as a
 parameter to #MSG_process_create() or registered as a public function
 through #MSG_function_register() and then automatically assigned to a
index 771268f..31b9c52 100644 (file)
@@ -534,7 +534,7 @@ void* simcall_process_get_data(smx_process_t process)
  * \ingroup simix_process_management
  * \brief Set the user data of a #smx_process_t.
  *
  * \ingroup simix_process_management
  * \brief Set the user data of a #smx_process_t.
  *
- * This functions checks whether \a process is a valid pointer or not and set the user data associated to \a process if it is possible.
+ * This functions sets the user data associated to \a process.
  * \param process SIMIX process
  * \param data User data
  */
  * \param process SIMIX process
  * \param data User data
  */
@@ -577,7 +577,8 @@ void simcall_process_set_kill_time(smx_process_t process, double kill_time)
  * \ingroup simix_process_management
  * \brief Return the location on which an agent is running.
  *
  * \ingroup simix_process_management
  * \brief Return the location on which an agent is running.
  *
- * This functions checks whether \a process is a valid pointer or not and return the m_host_t corresponding to the location on which \a process is running.
+ * This functions returns the smx_host_t corresponding to the location on which
+ * \a process is running.
  * \param process SIMIX process
  * \return SIMIX host
  */
  * \param process SIMIX process
  * \return SIMIX host
  */