Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] setting the process state to "executing" after migration
authorschnorr <schnorr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 3 Jan 2011 14:49:13 +0000 (14:49 +0000)
committerschnorr <schnorr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 3 Jan 2011 14:49:13 +0000 (14:49 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9345 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/instr/instr_msg_process.c

index 05300db..6b6408d 100644 (file)
@@ -76,6 +76,10 @@ void TRACE_msg_process_change_host(m_process_t process, m_host_t old_host, m_hos
   type = getType (process->category);
   new_pajeSetVariable (MSG_get_clock(), msg, type, 1);
 
+  //set the state of this new container
+  type = getType ("MSG_PROCESS_STATE");
+  new_pajeSetState (MSG_get_clock(), msg, type, "executing");
+
   //end link
   msg = getContainer(process->name);
   type = getType ("MSG_PROCESS_LINK");