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
hide tracing from MSG
[simgrid.git]
/
src
/
msg
/
msg_gos.cpp
diff --git
a/src/msg/msg_gos.cpp
b/src/msg/msg_gos.cpp
index
da08135
..
65d91fc
100644
(file)
--- a/
src/msg/msg_gos.cpp
+++ b/
src/msg/msg_gos.cpp
@@
-113,11
+113,8
@@
msg_error_t MSG_process_sleep(double nb_sec)
{
msg_error_t status = MSG_OK;
- if (TRACE_actor_is_enabled())
- simgrid::instr::Container::by_name(instr_pid(MSG_process_self()))->get_state("ACTOR_STATE")->push_event("sleep");
-
try {
- sim
call_process_sleep
(nb_sec);
+ sim
grid::s4u::this_actor::sleep_for
(nb_sec);
}
catch(xbt_ex& e) {
if (e.category == cancel_error) {
@@
-133,9
+130,6
@@
msg_error_t MSG_process_sleep(double nb_sec)
throw;
}
- if (TRACE_actor_is_enabled())
- simgrid::instr::Container::by_name(instr_pid(MSG_process_self()))->get_state("ACTOR_STATE")->pop_event();
-
return status;
}