Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[SAMPI] Move tracing functions to instr_ampi.hpp
authorChristian Heinrich <franz-christian.heinrich@inria.fr>
Thu, 2 Aug 2018 15:25:30 +0000 (17:25 +0200)
committerChristian Heinrich <franz-christian.heinrich@inria.fr>
Thu, 2 Aug 2018 19:55:54 +0000 (21:55 +0200)
This will not build, but it is simpler to to see where the functions went

src/instr/instr_smpi.hpp
src/smpi/plugins/ampi/instr_ampi.hpp [new file with mode: 0644]

index 8bced80..4a7130a 100644 (file)
@@ -32,9 +32,6 @@ XBT_PRIVATE void TRACE_smpi_finalize(int rank);
 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);
 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);
-XBT_PRIVATE void TRACE_Iteration_in(int rank, simgrid::instr::TIData* extra);
-XBT_PRIVATE void TRACE_Iteration_out(int rank, simgrid::instr::TIData* extra);
-XBT_PRIVATE void TRACE_migration_call(int rank, simgrid::instr::TIData* extra);
 
 class smpi_trace_call_location_t {
 public:
 
 class smpi_trace_call_location_t {
 public:
diff --git a/src/smpi/plugins/ampi/instr_ampi.hpp b/src/smpi/plugins/ampi/instr_ampi.hpp
new file mode 100644 (file)
index 0000000..3fc2f74
--- /dev/null
@@ -0,0 +1,16 @@
+/* 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. */
+
+#ifndef INSTR_AMPI_HPP_
+#define INSTR_AMPI_HPP_
+
+#include "smpi/smpi.h"
+#include "src/instr/instr_private.hpp"
+
+XBT_PRIVATE void TRACE_Iteration_in(int rank, simgrid::instr::TIData* extra);
+XBT_PRIVATE void TRACE_Iteration_out(int rank, simgrid::instr::TIData* extra);
+XBT_PRIVATE void TRACE_migration_call(int rank, simgrid::instr::TIData* extra);
+
+#endif