class PatternCommunication {
public:
int num = 0;
- simgrid::kernel::activity::CommImpl* comm_addr;
+ RemotePtr<simgrid::kernel::activity::CommImpl> comm_addr{nullptr};
PatternCommunicationType type = PatternCommunicationType::send;
unsigned long src_proc = 0;
unsigned long dst_proc = 0;
- const char* src_host = nullptr;
- const char* dst_host = nullptr;
+ const xbt::string* src_host = nullptr;
+ const xbt::string* dst_host = nullptr;
std::string rdv;
std::vector<char> data;
int tag = 0;
int index = 0;
- PatternCommunication() { std::memset(&comm_addr, 0, sizeof(comm_addr)); }
-
PatternCommunication dup() const
{
simgrid::mc::PatternCommunication res;
bool is_done() const { return this->state == InterleavingType::done; }
bool is_todo() const { return this->state == InterleavingType::todo; }
/** Mark that we should try executing this process at some point in the future of the checker algorithm */
- void consider()
+ void mark_todo()
{
this->state = InterleavingType::todo;
this->times_considered = 0;