X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b875e185e4ea9d8e5aec292f061354e2edc46c34..62f2d7a6657a63cfa1c91a2ccf91ea393e36ed9b:/src/simix/popping_private.hpp diff --git a/src/simix/popping_private.hpp b/src/simix/popping_private.hpp index a0f1add9d2..13ab4f17ac 100644 --- a/src/simix/popping_private.hpp +++ b/src/simix/popping_private.hpp @@ -44,11 +44,12 @@ union u_smx_scalar { * @brief Represents a simcall to the kernel. */ struct s_smx_simcall { - simgrid::simix::Simcall call_ = simgrid::simix::Simcall::NONE; - smx_actor_t issuer_ = nullptr; - smx_timer_t timeout_cb_ = nullptr; // Callback to timeouts - simgrid::mc::SimcallObserver* observer_ = nullptr; // makes that simcall observable by the MC - unsigned int mc_max_consider_ = 0; // How many times this simcall should be used. If >1, this will be a fork. + simgrid::simix::Simcall call_ = simgrid::simix::Simcall::NONE; + smx_actor_t issuer_ = nullptr; + simgrid::kernel::timer::Timer* timeout_cb_ = nullptr; // Callback to timeouts + simgrid::kernel::actor::SimcallObserver* observer_ = nullptr; // makes that simcall observable by the MC + unsigned int mc_max_consider_ = + 0; // How many times this simcall should be used. If >1, this will be a fork in the state space. int mc_value_ = 0; std::array args_ = {}; u_smx_scalar result_ = {}; @@ -56,7 +57,7 @@ struct s_smx_simcall { /******************************** General *************************************/ -XBT_PRIVATE const char* SIMIX_simcall_name(simgrid::simix::Simcall kind); +XBT_PRIVATE const char* SIMIX_simcall_name(const s_smx_simcall& simcall); XBT_PRIVATE void SIMIX_run_kernel(std::function const* code); XBT_PRIVATE void SIMIX_run_blocking(std::function const* code);