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
convert getCname to get_cname
[simgrid.git]
/
examples
/
s4u
/
routing-get-clusters
/
s4u-routing-get-clusters.cpp
diff --git
a/examples/s4u/routing-get-clusters/s4u-routing-get-clusters.cpp
b/examples/s4u/routing-get-clusters/s4u-routing-get-clusters.cpp
index
f4a0b0b
..
f6fb2d9
100644
(file)
--- a/
examples/s4u/routing-get-clusters/s4u-routing-get-clusters.cpp
+++ b/
examples/s4u/routing-get-clusters/s4u-routing-get-clusters.cpp
@@
-20,11
+20,11
@@
int main(int argc, char* argv[])
e.getNetzoneByType<simgrid::kernel::routing::ClusterZone>(clusters);
for (auto c : *clusters) {
e.getNetzoneByType<simgrid::kernel::routing::ClusterZone>(clusters);
for (auto c : *clusters) {
- XBT_INFO("%s", c->get
C
name());
+ XBT_INFO("%s", c->get
_c
name());
std::vector<simgrid::s4u::Host*>* hosts = new std::vector<simgrid::s4u::Host*>;
c->getHosts(hosts);
for (auto h : *hosts)
std::vector<simgrid::s4u::Host*>* hosts = new std::vector<simgrid::s4u::Host*>;
c->getHosts(hosts);
for (auto h : *hosts)
- XBT_INFO(" %s", h->get
C
name());
+ XBT_INFO(" %s", h->get
_c
name());
delete hosts;
}
delete hosts;
}
@@
-37,7
+37,7
@@
int main(int argc, char* argv[])
if (not dragonfly_clusters->empty()) {
for (auto d : *dragonfly_clusters) {
if (not dragonfly_clusters->empty()) {
for (auto d : *dragonfly_clusters) {
- XBT_INFO("%s' dragonfly topology:", d->get
C
name());
+ XBT_INFO("%s' dragonfly topology:", d->get
_c
name());
for (int i = 0; i < d->getHostCount(); i++) {
unsigned int coords[4];
d->rankId_to_coords(i, &coords);
for (int i = 0; i < d->getHostCount(); i++) {
unsigned int coords[4];
d->rankId_to_coords(i, &coords);