X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3f76493a3a2331163914bcb7bd575b07c2a79af9..968234160cc483b6ffab7980d39224ec51225c94:/src/instr/instr_smpi.hpp diff --git a/src/instr/instr_smpi.hpp b/src/instr/instr_smpi.hpp index aac3353d67..71cb360377 100644 --- a/src/instr/instr_smpi.hpp +++ b/src/instr/instr_smpi.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2010-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2010-2021. 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. */ @@ -11,7 +11,7 @@ #include /* Helper functions */ -XBT_PRIVATE container_t smpi_container(int rank); +XBT_PRIVATE simgrid::instr::Container* smpi_container(int rank); XBT_PRIVATE void TRACE_smpi_setup_container(int rank, const_sg_host_t host); XBT_PRIVATE void TRACE_smpi_sleeping_out(int rank); @@ -22,9 +22,6 @@ XBT_PRIVATE void TRACE_smpi_send(int rank, int src, int dst, int tag, int size); XBT_PRIVATE void TRACE_smpi_recv(int src, int dst, int tag); XBT_PRIVATE void TRACE_smpi_init(int rank, const std::string& calling_func); -/* SMPI + LB (load balancer) */ -XBT_PRIVATE void TRACE_smpi_process_change_host(int rank, const_sg_host_t new_host); - class smpi_trace_call_location_t { public: std::string filename; @@ -33,7 +30,7 @@ public: std::string previous_filename; int previous_linenumber; - std::string get_composed_key() + std::string get_composed_key() const { return previous_filename + ':' + std::to_string(previous_linenumber) + ':' + filename + ':' + std::to_string(linenumber);