From a181cc2634030aa03273398e72875a4d2033d343 Mon Sep 17 00:00:00 2001 From: schnorr Date: Mon, 3 Jan 2011 14:49:13 +0000 Subject: [PATCH] [trace] setting the process state to "executing" after migration 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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/instr/instr_msg_process.c b/src/instr/instr_msg_process.c index 05300dba84..6b6408d718 100644 --- a/src/instr/instr_msg_process.c +++ b/src/instr/instr_msg_process.c @@ -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"); -- 2.20.1