A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make SIMIX_req_host_execution_wait to also destroy the execution action when done.
[simgrid.git]
/
src
/
instr
/
instr_msg_task.c
diff --git
a/src/instr/instr_msg_task.c
b/src/instr/instr_msg_task.c
index
f75736f
..
8a8a659
100644
(file)
--- a/
src/instr/instr_msg_task.c
+++ b/
src/instr/instr_msg_task.c
@@
-82,7
+82,10
@@
void TRACE_msg_task_execute_start(m_task_t task)
}
if (TRACE_msg_process_is_enabled()){
}
if (TRACE_msg_process_is_enabled()){
- container_t process_container = getContainer (MSG_process_self()->name);
+ int len = INSTR_DEFAULT_STR_SIZE;
+ char str[INSTR_DEFAULT_STR_SIZE];
+
+ container_t process_container = getContainer (instr_process_id(MSG_process_self(), str, len));
type_t type = getType ("MSG_PROCESS_STATE");
new_pajePushState (MSG_get_clock(), process_container, type, "task_execute");
}
type_t type = getType ("MSG_PROCESS_STATE");
new_pajePushState (MSG_get_clock(), process_container, type, "task_execute");
}
@@
-101,7
+104,10
@@
void TRACE_msg_task_execute_end(m_task_t task)
}
if (TRACE_msg_process_is_enabled()){
}
if (TRACE_msg_process_is_enabled()){
- container_t process_container = getContainer (MSG_process_self()->name);
+ int len = INSTR_DEFAULT_STR_SIZE;
+ char str[INSTR_DEFAULT_STR_SIZE];
+
+ container_t process_container = getContainer (instr_process_id(MSG_process_self(), str, len));
type_t type = getType ("MSG_PROCESS_STATE");
new_pajePopState (MSG_get_clock(), process_container, type);
}
type_t type = getType ("MSG_PROCESS_STATE");
new_pajePopState (MSG_get_clock(), process_container, type);
}
@@
-134,7
+140,10
@@
void TRACE_msg_task_get_start(void)
}
if (TRACE_msg_process_is_enabled()){
}
if (TRACE_msg_process_is_enabled()){
- container_t process_container = getContainer (MSG_process_self()->name);
+ int len = INSTR_DEFAULT_STR_SIZE;
+ char str[INSTR_DEFAULT_STR_SIZE];
+
+ container_t process_container = getContainer (instr_process_id(MSG_process_self(), str, len));
type_t type = getType ("MSG_PROCESS_STATE");
new_pajePushState (MSG_get_clock(), process_container, type, "receive");
}
type_t type = getType ("MSG_PROCESS_STATE");
new_pajePushState (MSG_get_clock(), process_container, type, "receive");
}
@@
-169,7
+178,10
@@
void TRACE_msg_task_get_end(double start_time, m_task_t task)
}
if (TRACE_msg_process_is_enabled()){
}
if (TRACE_msg_process_is_enabled()){
- container_t process_container = getContainer (MSG_process_self()->name);
+ int len = INSTR_DEFAULT_STR_SIZE;
+ char str[INSTR_DEFAULT_STR_SIZE];
+
+ container_t process_container = getContainer (instr_process_id(MSG_process_self(), str, len));
type_t type = getType ("MSG_PROCESS_STATE");
new_pajePopState (MSG_get_clock(), process_container, type);
type_t type = getType ("MSG_PROCESS_STATE");
new_pajePopState (MSG_get_clock(), process_container, type);
@@
-207,7
+219,10
@@
int TRACE_msg_task_put_start(m_task_t task)
}
if (TRACE_msg_process_is_enabled()){
}
if (TRACE_msg_process_is_enabled()){
- container_t process_container = getContainer (MSG_process_self()->name);
+ int len = INSTR_DEFAULT_STR_SIZE;
+ char str[INSTR_DEFAULT_STR_SIZE];
+
+ container_t process_container = getContainer (instr_process_id(MSG_process_self(), str, len));
type_t type = getType ("MSG_PROCESS_STATE");
new_pajePushState (MSG_get_clock(), process_container, type, "send");
type_t type = getType ("MSG_PROCESS_STATE");
new_pajePushState (MSG_get_clock(), process_container, type, "send");
@@
-229,7
+244,10
@@
void TRACE_msg_task_put_end(void)
}
if (TRACE_msg_process_is_enabled()){
}
if (TRACE_msg_process_is_enabled()){
- container_t process_container = getContainer (MSG_process_self()->name);
+ int len = INSTR_DEFAULT_STR_SIZE;
+ char str[INSTR_DEFAULT_STR_SIZE];
+
+ container_t process_container = getContainer (instr_process_id(MSG_process_self(), str, len));
type_t type = getType ("MSG_PROCESS_STATE");
new_pajePopState (MSG_get_clock(), process_container, type);
}
type_t type = getType ("MSG_PROCESS_STATE");
new_pajePopState (MSG_get_clock(), process_container, type);
}