Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[SMPI] Remove TRACE_smpi_send_process_data_in & _out
authorChristian Heinrich <franz-christian.heinrich@inria.fr>
Thu, 9 Aug 2018 09:23:17 +0000 (11:23 +0200)
committerChristian Heinrich <franz-christian.heinrich@inria.fr>
Thu, 9 Aug 2018 09:23:17 +0000 (11:23 +0200)
These were added by Rafael Keller Tesser in his PR #214,
but I think I integrated this into other functions.

At least we're not using it, and I hope not mistakenly.

src/instr/instr_smpi.hpp
src/smpi/internals/instr_smpi.cpp

index 4a7130a..3e94c72 100644 (file)
@@ -29,8 +29,6 @@ XBT_PRIVATE void TRACE_smpi_recv(int src, int dst, int tag);
 XBT_PRIVATE void TRACE_smpi_init(int rank);
 XBT_PRIVATE void TRACE_smpi_finalize(int rank);
 /* SMPI + LB (load balancer) */
-XBT_PRIVATE void TRACE_smpi_send_process_data_in(int rank);
-XBT_PRIVATE void TRACE_smpi_send_process_data_out(int rank);
 XBT_PRIVATE void TRACE_smpi_process_change_host(int rank, sg_host_t new_host);
 
 class smpi_trace_call_location_t {
index 792376a..3051459 100644 (file)
@@ -277,22 +277,6 @@ void TRACE_smpi_recv(int src, int dst, int tag)
 }
 
 /**************** Functions to trace the migration of tasks. *****************/
-void TRACE_smpi_send_process_data_in(int rank)
-{
-  if (not TRACE_smpi_is_enabled()) return;
-
-  smpi_container(rank)->get_state("MIGRATE_STATE")->add_entity_value("migration", instr_find_color("migration"));
-  smpi_container(rank)->get_state("MIGRATE_STATE")->push_event("migration");
-}
-
-void TRACE_smpi_send_process_data_out(int rank)
-{
-  if (not TRACE_smpi_is_enabled()) return; 
-
-  /* Clean the process state. */
-  smpi_container(rank)->get_state("MIGRATE_STATE")->pop_event();
-}
-
 void TRACE_smpi_process_change_host(int rank, sg_host_t new_host)
 {
   if (not TRACE_smpi_is_enabled()) return;
@@ -316,4 +300,3 @@ void TRACE_smpi_process_change_host(int rank, sg_host_t new_host)
   cont = smpi_container(rank); // This points to the newly created container
   simgrid::instr::Container::get_root()->get_link("MIGRATE_LINK")->end_event(cont, "M", key);
 }
-