X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f3c242fa5d818b0c2986ecb06e76f691e295c698..579222ddee9e350c59189d9ee93d089292a64c15:/src/msg/instr_msg_process.cpp diff --git a/src/msg/instr_msg_process.cpp b/src/msg/instr_msg_process.cpp index d9eceb3fc1..a0aa2123eb 100644 --- a/src/msg/instr_msg_process.cpp +++ b/src/msg/instr_msg_process.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2010, 2012-2017. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2010-2018. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -12,13 +12,13 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY (instr_msg_process, instr, "MSG process"); std::string instr_pid(msg_process_t proc) { - return std::string(proc->getCname()) + "-" + std::to_string(proc->getPid()); + return std::string(proc->get_cname()) + "-" + std::to_string(proc->get_pid()); } void TRACE_msg_process_kill(smx_process_exit_status_t status, msg_process_t process) { if (TRACE_actor_is_enabled() && status == SMX_EXIT_FAILURE) { //kill means that this process no longer exists, let's destroy it - simgrid::instr::Container::byName(instr_pid(process))->removeFromParent(); + simgrid::instr::Container::by_name(instr_pid(process))->remove_from_parent(); } }