-typedef struct s_mc_comm_pattern{
- int num = 0;
- smx_synchro_t comm_addr;
- e_smx_comm_type_t type = SIMIX_COMM_SEND;
- unsigned long src_proc = 0;
- unsigned long dst_proc = 0;
- const char *src_host = nullptr;
- const char *dst_host = nullptr;
- std::string rdv;
- ssize_t data_size = 0;
- void *data = nullptr;
- int tag = 0;
- int index = 0;
-
- s_mc_comm_pattern()
- {
- std::memset(&comm_addr, 0, sizeof(comm_addr));
- }
- ~s_mc_comm_pattern()
- {
- xbt_free(this->data);
- }
+struct PatternCommunicationList {
+ unsigned int index_comm = 0;
+ std::vector<std::unique_ptr<simgrid::mc::PatternCommunication>> list;
+};