X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3203ed1f4fb6f4617e94d5351661ba07e8b8f833..a533429838a35ac04b4307c5509f32a0e8bce150:/teshsuite/simdag/platforms/is_router_test.c diff --git a/teshsuite/simdag/platforms/is_router_test.c b/teshsuite/simdag/platforms/is_router_test.c index 49d05ceeef..5014b76599 100644 --- a/teshsuite/simdag/platforms/is_router_test.c +++ b/teshsuite/simdag/platforms/is_router_test.c @@ -27,12 +27,12 @@ int main(int argc, char **argv) /* creation of the environment */ SD_create_environment(argv[1]); - size = xbt_lib_length(host_lib) + xbt_lib_length(as_router_lib); + size = xbt_dict_length(host_list) + xbt_lib_length(as_router_lib); printf("Workstation number: %d, link number: %d, elmts number: %d\n", - SD_workstation_get_number(), SD_link_get_number(), size); + SD_workstation_get_count(), sg_link_count(), size); - xbt_lib_foreach(host_lib, cursor, key, data) { + xbt_dict_foreach(host_list, cursor, key, data) { printf(" - Seen: \"%s\" is type : %d\n", key, (int) routing_get_network_element_type(key)); }