From 2f9ed48f48e99fdbb007117690be4583b05ee903 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Wed, 22 Dec 2021 00:15:05 +0100 Subject: [PATCH] MC: chop chop chop --- src/mc/api.cpp | 10 ---------- src/mc/api.hpp | 2 -- 2 files changed, 12 deletions(-) diff --git a/src/mc/api.cpp b/src/mc/api.cpp index 8d6bc816d9..da0d06b8af 100644 --- a/src/mc/api.cpp +++ b/src/mc/api.cpp @@ -628,11 +628,6 @@ smx_actor_t Api::simcall_get_issuer(s_smx_simcall const* req) const xbt_die("Issuer not found"); } -long Api::simcall_get_actor_id(s_smx_simcall const* req) const -{ - return simcall_get_issuer(req)->get_pid(); -} - RemotePtr Api::get_mbox_remote_addr(smx_simcall_t const req) const { if (req->call_ == Simcall::COMM_ISEND) @@ -651,11 +646,6 @@ RemotePtr Api::get_comm_remote_addr(smx_simcall_ THROW_IMPOSSIBLE; } -Checker* Api::mc_get_checker() const -{ - return mc_model_checker->getChecker(); -} - void Api::handle_simcall(Transition const& transition) const { mc_model_checker->handle_simcall(transition); diff --git a/src/mc/api.hpp b/src/mc/api.hpp index 5f41f78ee7..312a7940d9 100644 --- a/src/mc/api.hpp +++ b/src/mc/api.hpp @@ -100,7 +100,6 @@ public: unsigned long mc_get_visited_states() const; unsigned long mc_get_executed_trans() const; void mc_check_deadlock() const; - Checker* mc_get_checker() const; void handle_simcall(Transition const& transition) const; void mc_wait_for_requests() const; XBT_ATTRIB_NORETURN void mc_exit(int status) const; @@ -114,7 +113,6 @@ public: std::string request_to_string(smx_simcall_t req, int value) const; std::string request_get_dot_output(smx_simcall_t req, int value) const; smx_actor_t simcall_get_issuer(s_smx_simcall const* req) const; - long simcall_get_actor_id(s_smx_simcall const* req) const; RemotePtr get_mbox_remote_addr(smx_simcall_t const req) const; RemotePtr get_comm_remote_addr(smx_simcall_t const req) const; bool simcall_check_dependency(smx_simcall_t const req1, smx_simcall_t const req2) const; -- 2.20.1