X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1242154344890b641971b49954a6cd0d49fe037b..a0c5b1ab11469128ad826610f54b1f0f332bd172:/src/mc/mc_smx.h diff --git a/src/mc/mc_smx.h b/src/mc/mc_smx.h index 4582e850ad..28d20b7b47 100644 --- a/src/mc/mc_smx.h +++ b/src/mc/mc_smx.h @@ -1,5 +1,4 @@ -/* Copyright (c) 2015. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2015-2017. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -7,17 +6,7 @@ #ifndef SIMGRID_MC_SMX_H #define SIMGRID_MC_SMX_H -#include - -#include -#include - -#include - -#include "src/smpi/private.h" - #include "src/mc/Process.hpp" -#include "src/mc/mc_protocol.h" /** @file * @brief (Cross-process, MCer/MCed) Access to SMX structures @@ -50,24 +39,13 @@ SG_BEGIN_DECL() * @param process the MCed process * @param req the simcall (copied in the local process) */ -XBT_PRIVATE smx_process_t MC_smx_simcall_get_issuer(s_smx_simcall_t const* req); +XBT_PRIVATE smx_actor_t MC_smx_simcall_get_issuer(s_smx_simcall_t const* req); -XBT_PRIVATE const char* MC_smx_process_get_name(smx_process_t p); -XBT_PRIVATE const char* MC_smx_process_get_host_name(smx_process_t p); +XBT_PRIVATE const char* MC_smx_actor_get_name(smx_actor_t p); +XBT_PRIVATE const char* MC_smx_actor_get_host_name(smx_actor_t p); XBT_PRIVATE int MC_smpi_process_count(void); - -/* ***** Resolve (local/MCer structure from remote/MCed addresses) ***** */ - -/** Get a local copy of the process from the process remote address */ -XBT_PRIVATE smx_process_t MC_smx_resolve_process( - simgrid::mc::RemotePtr process_remote_address); - -/** Get the process info structure from the process remote address */ -XBT_PRIVATE simgrid::mc::SimixProcessInformation* MC_smx_resolve_process_info( - simgrid::mc::RemotePtr process_remote_address); - XBT_PRIVATE unsigned long MC_smx_get_maxpid(void); SG_END_DECL()