smx_actor_t process = SIMIX_process_from_PID(transition.pid_);
if (not process)
xbt_die("Unexpected process (pid:%d).", transition.pid_);
- const s_smx_simcall* simcall = &(process->simcall);
+ const s_smx_simcall* simcall = &(process->simcall_);
if (simcall == nullptr || simcall->call_ == SIMCALL_NONE)
xbt_die("No simcall for process %d.", transition.pid_);
if (not simgrid::mc::request_is_visible(simcall) || not simgrid::mc::actor_is_enabled(process))
const char* current = data;
while (*current) {
-
simgrid::mc::Transition item;
int count = sscanf(current, "%d/%d", &item.pid_, &item.argument_);
+
if(count != 2 && count != 1)
throw std::invalid_argument("Could not parse record path");
res.push_back(item);