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
oops forgot one file
[simgrid.git]
/
src
/
smpi
/
smpi_bench.c
diff --git
a/src/smpi/smpi_bench.c
b/src/smpi/smpi_bench.c
index
f10012e
..
7ab58fa
100644
(file)
--- a/
src/smpi/smpi_bench.c
+++ b/
src/smpi/smpi_bench.c
@@
-7,6
+7,7
@@
#include "private.h"
#include "xbt/dict.h"
#include "xbt/sysdep.h"
#include "private.h"
#include "xbt/dict.h"
#include "xbt/sysdep.h"
+#include "surf/surf.h"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_bench, smpi,
"Logging specific to SMPI (benchmarking)");
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_bench, smpi,
"Logging specific to SMPI (benchmarking)");
@@
-44,6
+45,9
@@
static void smpi_execute_flops(double flops)
DEBUG1("Handle real computation time: %f flops", flops);
action = SIMIX_req_host_execute("computation", host, flops);
DEBUG1("Handle real computation time: %f flops", flops);
action = SIMIX_req_host_execute("computation", host, flops);
+#ifdef HAVE_TRACING
+ SIMIX_req_set_category (action, TRACE_internal_smpi_get_category());
+#endif
SIMIX_req_host_execution_wait(action);
SIMIX_req_host_execution_destroy(action);
}
SIMIX_req_host_execution_wait(action);
SIMIX_req_host_execution_destroy(action);
}