Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] process category is deprecated (for now, at least)
[simgrid.git] / examples / msg / tracing / procmig.c
index cffb528..d3e139c 100644 (file)
@@ -19,8 +19,6 @@ static int emigrant(int argc, char *argv[])
   m_task_t task = NULL;
   char *destination = NULL;
 
-  INFO0("Setting process category");
-  TRACE_msg_set_process_category(MSG_process_self(), "emigrant", "1 0 0");
   MSG_process_sleep(2);
 
   while (1){ // I am an eternal emigrant
@@ -41,8 +39,6 @@ static int master(int argc, char *argv[])
 {
   m_task_t task = NULL;
 
-  TRACE_msg_set_process_category(MSG_process_self(), "master", "1 0 0");
-
   // I am the master of emigrant process,
   // I tell it where it must emigrate to.
   xbt_dynar_t destinations = xbt_dynar_new (sizeof(char*), xbt_free);