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
This should be a per process variable.
[simgrid.git]
/
src
/
smpi
/
smpi_pmpi.c
diff --git
a/src/smpi/smpi_pmpi.c
b/src/smpi/smpi_pmpi.c
index
349bb58
..
1339144
100644
(file)
--- a/
src/smpi/smpi_pmpi.c
+++ b/
src/smpi/smpi_pmpi.c
@@
-131,7
+131,7
@@
int PMPI_Abort(MPI_Comm comm, int errorcode)
double PMPI_Wtime(void)
{
double time;
double PMPI_Wtime(void)
{
double time;
- if (smpi_process_initialized() && !smpi_process_finalized() && !smpi_
sample_is_running
) {
+ if (smpi_process_initialized() && !smpi_process_finalized() && !smpi_
process_get_sampling()
) {
smpi_bench_end();
time = SIMIX_get_clock();
smpi_bench_begin();
smpi_bench_end();
time = SIMIX_get_clock();
smpi_bench_begin();