/* DO NOT EVER CHANGE THIS FILE */
/* */
/* change simcalls specification in src/simix/simcalls.in */
-/* Copyright (c) 2014-2021. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2014-2022. The SimGrid Team. All rights reserved. */
/**********************************************************************/
/*
* That's not about http://en.wikipedia.org/wiki/Poop, despite the odor :)
*/
-#include "smx_private.hpp"
+#include <simgrid/config.h>
#include <simgrid/host.h>
#include <xbt/base.h>
#if SIMGRID_HAVE_MC
#endif
#include "src/kernel/activity/ConditionVariableImpl.hpp"
#include "src/kernel/actor/SimcallObserver.hpp"
+#include "src/kernel/context/Context.hpp"
-XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(simix_popping);
+XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(simix);
using simgrid::simix::Simcall;
/** @brief Simcalls' names (generated from src/simix/simcalls.in) */
"Simcall::COMM_IRECV",
"Simcall::COMM_SEND",
"Simcall::COMM_ISEND",
- "Simcall::COMM_TEST",
- "Simcall::COMM_TESTANY",
"Simcall::COMM_WAITANY",
"Simcall::COMM_WAIT",
"Simcall::RUN_KERNEL",
*/
void simgrid::kernel::actor::ActorImpl::simcall_handle(int times_considered)
{
- XBT_DEBUG("Handling simcall %p: %s", &simcall_, SIMIX_simcall_name(simcall_.call_));
+ XBT_DEBUG("Handling simcall %p: %s", &simcall_, SIMIX_simcall_name(simcall_));
simcall_.mc_value_ = times_considered;
if (simcall_.observer_ != nullptr)
simcall_.observer_->prepare(times_considered);
simcall_answer();
break;
- case Simcall::COMM_TEST:
- simgrid::simix::marshal<bool>(simcall_.result_, simcall_HANDLER_comm_test(&simcall_, simgrid::simix::unmarshal<simgrid::kernel::activity::CommImpl*>(simcall_.args_[0])));
- simcall_answer();
- break;
-
- case Simcall::COMM_TESTANY:
- simgrid::simix::marshal<int>(simcall_.result_, simcall_HANDLER_comm_testany(&simcall_, simgrid::simix::unmarshal<simgrid::kernel::activity::CommImpl**>(simcall_.args_[0]), simgrid::simix::unmarshal<size_t>(simcall_.args_[1])));
- simcall_answer();
- break;
-
case Simcall::COMM_WAITANY:
simcall_HANDLER_comm_waitany(&simcall_, simgrid::simix::unmarshal<simgrid::kernel::activity::CommImpl**>(simcall_.args_[0]), simgrid::simix::unmarshal<size_t>(simcall_.args_[1]), simgrid::simix::unmarshal<double>(simcall_.args_[2]));
break;