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
class names must be in CamelCase
[simgrid.git]
/
src
/
smpi
/
colls
/
smpi_automatic_selector.cpp
diff --git
a/src/smpi/colls/smpi_automatic_selector.cpp
b/src/smpi/colls/smpi_automatic_selector.cpp
index
3ffffa0
..
376b0d9
100644
(file)
--- a/
src/smpi/colls/smpi_automatic_selector.cpp
+++ b/
src/smpi/colls/smpi_automatic_selector.cpp
@@
-16,13
+16,13
@@
#define TRACE_AUTO_COLL(cat) \
if (TRACE_is_enabled()) { \
#define TRACE_AUTO_COLL(cat) \
if (TRACE_is_enabled()) { \
-
type_t type = PJ_type_get_or_null(#cat, PJ_type_get_root());
\
+
Type* type = Type::getOrNull(#cat, PJ_type_get_root());
\
if (not type) { \
if (not type) { \
- type =
PJ_type_event_new(#cat, PJ_type_get_root());
\
+ type =
Type::eventNew(#cat, PJ_type_get_root());
\
} \
char cont_name[25]; \
snprintf(cont_name, 25, "rank-%d", smpi_process()->index()); \
} \
char cont_name[25]; \
snprintf(cont_name, 25, "rank-%d", smpi_process()->index()); \
-
value* val = v
alue::get_or_new(Colls::mpi_coll_##cat##_description[i].name, "1.0 1.0 1.0", type); \
+
Value* val = V
alue::get_or_new(Colls::mpi_coll_##cat##_description[i].name, "1.0 1.0 1.0", type); \
new NewEvent(SIMIX_get_clock(), PJ_container_get(cont_name), type, val); \
}
new NewEvent(SIMIX_get_clock(), PJ_container_get(cont_name), type, val); \
}