X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d20f024dba9ff1e9c8822237caaf963b9e913889..d2d824f563b6a7cc2fb7c8d618c893c8084ab334:/src/msg/instr_msg_process.cpp diff --git a/src/msg/instr_msg_process.cpp b/src/msg/instr_msg_process.cpp index 6c396a1fe0..81526f6f12 100644 --- a/src/msg/instr_msg_process.cpp +++ b/src/msg/instr_msg_process.cpp @@ -95,7 +95,7 @@ void TRACE_msg_process_suspend(msg_process_t process) container_t process_container = PJ_container_get (instr_process_id(process, str, len)); simgrid::instr::Type* type = process_container->type_->getChild("MSG_PROCESS_STATE"); - simgrid::instr::Value* val = simgrid::instr::Value::get("suspend", type); + simgrid::instr::Value* val = simgrid::instr::Value::byName("suspend", type); new simgrid::instr::PushStateEvent(MSG_get_clock(), process_container, type, val); } } @@ -120,7 +120,7 @@ void TRACE_msg_process_sleep_in(msg_process_t process) container_t process_container = PJ_container_get (instr_process_id(process, str, len)); simgrid::instr::Type* type = process_container->type_->getChild("MSG_PROCESS_STATE"); - simgrid::instr::Value* val = simgrid::instr::Value::get("sleep", type); + simgrid::instr::Value* val = simgrid::instr::Value::byName("sleep", type); new simgrid::instr::PushStateEvent(MSG_get_clock(), process_container, type, val); } }