A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
compile with -Wmissing-declarations to catch more errors
[simgrid.git]
/
src
/
mc
/
mc_smx.h
diff --git
a/src/mc/mc_smx.h
b/src/mc/mc_smx.h
index
c9cdd7a
..
7de26cf
100644
(file)
--- a/
src/mc/mc_smx.h
+++ b/
src/mc/mc_smx.h
@@
-12,10
+12,10
@@
#include <xbt/log.h>
#include <simgrid/simix.h>
#include <xbt/log.h>
#include <simgrid/simix.h>
-#include "smpi/private.h"
+#include "s
rc/s
mpi/private.h"
-#include "
mc_process.h
"
-#include "mc_protocol.h"
+#include "
src/mc/Process.hpp
"
+#include "
src/mc/
mc_protocol.h"
/** @file
* @brief (Cross-process, MCer/MCed) Access to SMX structures
/** @file
* @brief (Cross-process, MCer/MCed) Access to SMX structures
@@
-49,9
+49,11
@@
struct s_mc_smx_process_info {
char* name;
};
char* name;
};
-
XBT_INTERNAL xbt_dynar_t MC_smx_process_info_list_new(void)
;
+
typedef struct s_mc_smx_process_info s_mc_smx_process_info_t, *mc_smx_process_info_t
;
-XBT_INTERNAL void MC_process_smx_refresh(simgrid::mc::Process* process);
+XBT_PRIVATE xbt_dynar_t MC_smx_process_info_list_new(void);
+
+XBT_PRIVATE void MC_process_smx_refresh(simgrid::mc::Process* process);
/** Get the issuer of a simcall (`req->issuer`)
*
/** Get the issuer of a simcall (`req->issuer`)
*
@@
-62,10
+64,10
@@
XBT_INTERNAL void MC_process_smx_refresh(simgrid::mc::Process* process);
* @param process the MCed process
* @param req the simcall (copied in the local process)
*/
* @param process the MCed process
* @param req the simcall (copied in the local process)
*/
-XBT_
INTERNAL
smx_process_t MC_smx_simcall_get_issuer(smx_simcall_t req);
+XBT_
PRIVATE
smx_process_t MC_smx_simcall_get_issuer(smx_simcall_t req);
-XBT_
INTERNAL
const char* MC_smx_process_get_name(smx_process_t p);
-XBT_
INTERNAL
const char* MC_smx_process_get_host_name(smx_process_t p);
+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);
#define MC_EACH_SIMIX_PROCESS(process, code) \
if (mc_mode == MC_MODE_CLIENT) { \
#define MC_EACH_SIMIX_PROCESS(process, code) \
if (mc_mode == MC_MODE_CLIENT) { \
@@
-82,21
+84,19
@@
XBT_INTERNAL const char* MC_smx_process_get_host_name(smx_process_t p);
} \
}
} \
}
-/** Execute a given simcall */
-XBT_INTERNAL void MC_simcall_handle(smx_simcall_t req, int value);
-XBT_
INTERNAL
int MC_smpi_process_count(void);
+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 */
/* ***** Resolve (local/MCer structure from remote/MCed addresses) ***** */
/** Get a local copy of the process from the process remote address */
-XBT_
INTERNAL
smx_process_t MC_smx_resolve_process(smx_process_t process_remote_address);
+XBT_
PRIVATE
smx_process_t MC_smx_resolve_process(smx_process_t process_remote_address);
/** Get the process info structure from the process remote address */
/** Get the process info structure from the process remote address */
-XBT_
INTERNAL
mc_smx_process_info_t MC_smx_resolve_process_info(smx_process_t process_remote_address);
+XBT_
PRIVATE
mc_smx_process_info_t MC_smx_resolve_process_info(smx_process_t process_remote_address);
-XBT_
INTERNAL
unsigned long MC_smx_get_maxpid(void);
+XBT_
PRIVATE
unsigned long MC_smx_get_maxpid(void);
SG_END_DECL()
SG_END_DECL()