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
Merge branch 'toufic' of github.com:Takishipp/simgrid
[simgrid.git]
/
src
/
smpi
/
smpi_process.hpp
diff --git
a/src/smpi/smpi_process.hpp
b/src/smpi/smpi_process.hpp
index
e1587ea
..
9cc8a2a
100644
(file)
--- a/
src/smpi/smpi_process.hpp
+++ b/
src/smpi/smpi_process.hpp
@@
-33,8
+33,8
@@
class Process {
int sampling_ = 0; /* inside an SMPI_SAMPLE_ block? */
char* instance_id_ = nullptr;
bool replaying_ = false; /* is the process replaying a trace */
int sampling_ = 0; /* inside an SMPI_SAMPLE_ block? */
char* instance_id_ = nullptr;
bool replaying_ = false; /* is the process replaying a trace */
- msg_bar_t finalization_barrier_
= nullptr
;
- int return_value_
= 0;
+ msg_bar_t finalization_barrier_;
+ int return_value_ = 0;
smpi_trace_call_location_t trace_call_loc_;
smx_actor_t process_ = nullptr;
#if HAVE_PAPI
smpi_trace_call_location_t trace_call_loc_;
smx_actor_t process_ = nullptr;
#if HAVE_PAPI
@@
-43,9
+43,8
@@
class Process {
papi_counter_t papi_counter_data_;
#endif
public:
papi_counter_t papi_counter_data_;
#endif
public:
- explicit Process(int index);
- void destroy();
- void set_data(int* argc, char*** argv);
+ explicit Process(int index, msg_bar_t barrier);
+ void set_data(int index, int* argc, char*** argv);
void finalize();
int finalized();
int initialized();
void finalize();
int finalized();
int initialized();
@@
-71,7
+70,6
@@
class Process {
void set_sampling(int s);
int sampling();
msg_bar_t finalization_barrier();
void set_sampling(int s);
int sampling();
msg_bar_t finalization_barrier();
- void set_finalization_barrier(msg_bar_t bar);
int return_value();
void set_return_value(int val);
static void init(int *argc, char ***argv);
int return_value();
void set_return_value(int val);
static void init(int *argc, char ***argv);