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
frame a concept of execution, that will become a s4u::Async
[simgrid.git]
/
src
/
smpi
/
smpi_bench.c
diff --git
a/src/smpi/smpi_bench.c
b/src/smpi/smpi_bench.c
index
4b45471
..
fcf9a6e
100644
(file)
--- a/
src/smpi/smpi_bench.c
+++ b/
src/smpi/smpi_bench.c
@@
-154,9
+154,9
@@
void smpi_execute_(double *duration)
void smpi_execute_flops(double flops) {
smx_synchro_t action;
XBT_DEBUG("Handle real computation time: %f flops", flops);
void smpi_execute_flops(double flops) {
smx_synchro_t action;
XBT_DEBUG("Handle real computation time: %f flops", flops);
- action = simcall_
process_execute
("computation", flops, 1, 0, 0);
+ action = simcall_
execution_start
("computation", flops, 1, 0, 0);
simcall_set_category (action, TRACE_internal_smpi_get_category());
simcall_set_category (action, TRACE_internal_smpi_get_category());
- simcall_
process_
execution_wait(action);
+ simcall_execution_wait(action);
smpi_switch_data_segment(smpi_process_index());
}
smpi_switch_data_segment(smpi_process_index());
}