Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of framagit.org:simgrid/simgrid
[simgrid.git] / src / instr / instr_smpi.hpp
index 910f702..d541ed9 100644 (file)
@@ -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 <string>
 
 /* 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,16 +22,13 @@ 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;
-  int linenumber;
+  int linenumber = 0;
 
   std::string previous_filename;
-  int previous_linenumber;
+  int previous_linenumber = 0;
 
   std::string get_composed_key() const
   {