X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/96cedde3cdbc0b8ffc3f096a1b65d021b0226f99..8b0d5ae29ebd13e69a23991b8adfb67c5c5d79d3:/src/mc/mc_comm_pattern.hpp diff --git a/src/mc/mc_comm_pattern.hpp b/src/mc/mc_comm_pattern.hpp index 4aab5a0854..15b9a72153 100644 --- a/src/mc/mc_comm_pattern.hpp +++ b/src/mc/mc_comm_pattern.hpp @@ -9,8 +9,6 @@ #include #include "smpi/smpi.h" -#include "xbt/dynar.h" - #include "src/mc/mc_state.hpp" namespace simgrid { @@ -23,15 +21,8 @@ struct PatternCommunicationList { } } -/** - * Type: `xbt_dynar_t` - */ -extern XBT_PRIVATE xbt_dynar_t initial_communications_pattern; - -/** - * Type: `xbt_dynar_t>` - */ -extern XBT_PRIVATE xbt_dynar_t incomplete_communications_pattern; +extern XBT_PRIVATE std::vector initial_communications_pattern; +extern XBT_PRIVATE std::vector> incomplete_communications_pattern; enum e_mc_call_type_t { MC_CALL_TYPE_NONE, @@ -68,8 +59,7 @@ static inline e_mc_call_type_t MC_get_call_type(smx_simcall_t req) } } -XBT_PRIVATE void MC_handle_comm_pattern(e_mc_call_type_t call_type, smx_simcall_t request, int value, - xbt_dynar_t current_pattern, int backtracking); +XBT_PRIVATE void MC_handle_comm_pattern(e_mc_call_type_t call_type, smx_simcall_t request, int value, int backtracking); XBT_PRIVATE void MC_restore_communications_pattern(simgrid::mc::State* state);