X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6e0c79dea1a322c6dbc569725865b7b6b05b2099..90bddc474870ce50b5398b88c7de59336d00a85f:/src/mc/explo/odpor/Execution.cpp diff --git a/src/mc/explo/odpor/Execution.cpp b/src/mc/explo/odpor/Execution.cpp index 536c3f05a6..42ff35ec86 100644 --- a/src/mc/explo/odpor/Execution.cpp +++ b/src/mc/explo/odpor/Execution.cpp @@ -106,8 +106,7 @@ std::unordered_set Execution::get_racing_events_of(Execu // it (since this would transitively make it the event // which "happens-between" `target` and `e`) if (disqualified_events.count(e_i) == 0) { - XBT_DEBUG("ODPOR_RACING_EVENTS with `%u` : `%u` is a valid racing event", - target, e_i); + XBT_DEBUG("ODPOR_RACING_EVENTS with `%u` : `%u` is a valid racing event", target, e_i); racing_events.insert(e_i); disqualified_events.insert(e_i); } @@ -279,6 +278,9 @@ std::optional Execution::get_odpor_extension_from(EventHandle E_prime_v.push_transition(get_event_with_handle(e_star).get_transition()); v.push_back(get_event_with_handle(e_star).get_transition()); + XBT_DEBUG("Added Event `%u` (%ld:%s) to the construction of v", e_star, get_actor_with_handle(e_star), + get_event_with_handle(e_star).get_transition()->to_string().c_str()); + const EventHandle e_star_in_E_prime_v = E_prime_v.get_latest_event_handle().value(); // When checking whether any event in `dom_[E'](v)` happens before @@ -316,6 +318,9 @@ std::optional Execution::get_odpor_extension_from(EventHandle // relation orders actions taken by each actor disqualified_actors.insert(q); } + } else { + XBT_DEBUG("Event `%u` (%ld:%s) dismissed from the construction of v", e_star, get_actor_with_handle(e_star), + get_event_with_handle(e_star).get_transition()->to_string().c_str()); } }