From 1798f841b8bf1b90a38ab07d940064e8346592b1 Mon Sep 17 00:00:00 2001 From: Christian Heinrich Date: Thu, 9 Aug 2018 11:23:17 +0200 Subject: [PATCH] [SMPI] Remove TRACE_smpi_send_process_data_in & _out 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 | 2 -- src/smpi/internals/instr_smpi.cpp | 17 ----------------- 2 files changed, 19 deletions(-) diff --git a/src/instr/instr_smpi.hpp b/src/instr/instr_smpi.hpp index 4a7130a3c2..3e94c72b31 100644 --- a/src/instr/instr_smpi.hpp +++ b/src/instr/instr_smpi.hpp @@ -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 { diff --git a/src/smpi/internals/instr_smpi.cpp b/src/smpi/internals/instr_smpi.cpp index 792376a21e..30514595dd 100644 --- a/src/smpi/internals/instr_smpi.cpp +++ b/src/smpi/internals/instr_smpi.cpp @@ -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); } - -- 2.20.1