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
[SMPI] Fixed output alignment for display_timing option
[simgrid.git]
/
src
/
smpi
/
smpi_bench.c
diff --git
a/src/smpi/smpi_bench.c
b/src/smpi/smpi_bench.c
index
9dfcdb3
..
82a4190
100644
(file)
--- a/
src/smpi/smpi_bench.c
+++ b/
src/smpi/smpi_bench.c
@@
-1,4
+1,4
@@
-/* Copyright (c) 2007, 2009-201
4
. The SimGrid Team.
+/* Copyright (c) 2007, 2009-201
5
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-153,12
+153,10
@@
void smpi_execute_(double *duration)
void smpi_execute_flops(double flops) {
smx_synchro_t action;
void smpi_execute_flops(double flops) {
smx_synchro_t action;
- sg_host_t host;
- host = SIMIX_host_self();
XBT_DEBUG("Handle real computation time: %f flops", flops);
XBT_DEBUG("Handle real computation time: %f flops", flops);
- action = simcall_
host_execute("computation", host
, flops, 1, 0, 0);
+ action = simcall_
process_execute("computation"
, flops, 1, 0, 0);
simcall_set_category (action, TRACE_internal_smpi_get_category());
simcall_set_category (action, TRACE_internal_smpi_get_category());
- simcall_
host
_execution_wait(action);
+ simcall_
process
_execution_wait(action);
smpi_switch_data_segment(smpi_process_index());
}
smpi_switch_data_segment(smpi_process_index());
}