summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a3141b2)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4891
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
static link_CM02_t *link_list = NULL;
static int src_id = -1;
static int dst_id = -1;
static link_CM02_t *link_list = NULL;
static int src_id = -1;
static int dst_id = -1;
-/*
-static int is_first = 0;
-*/
static void parse_route_set_endpoints(void)
{
static void parse_route_set_endpoints(void)
{
static double impact_on_dst;
static double impact_on_src_with_other_recv;
static double impact_on_dst_with_other_send;
static double impact_on_dst;
static double impact_on_src_with_other_recv;
static double impact_on_dst_with_other_send;
-static int is_first = 0;
+static int is_first = 1;
static void parse_route_set_endpoints(void)
{
cpu_KCCFLN05_t cpu_tmp = NULL;
static void parse_route_set_endpoints(void)
{
cpu_KCCFLN05_t cpu_tmp = NULL;
- if (!is_first) create_routing_table();
- is_first = 1;
+ if (is_first) create_routing_table();
+ is_first = 0;
cpu_tmp = (cpu_KCCFLN05_t) name_service(A_surfxml_route_src);
if (cpu_tmp != NULL) {
cpu_tmp = (cpu_KCCFLN05_t) name_service(A_surfxml_route_src);
if (cpu_tmp != NULL) {
static link_L07_t *link_list = NULL;
static int src_id = -1;
static int dst_id = -1;
static link_L07_t *link_list = NULL;
static int src_id = -1;
static int dst_id = -1;
static void parse_route_set_endpoints(void)
{
cpu_L07_t cpu_tmp = NULL;
static void parse_route_set_endpoints(void)
{
cpu_L07_t cpu_tmp = NULL;
- if (!is_first) create_routing_table();
- is_first = 1;
+ if (is_first) create_routing_table();
+ is_first = 0;
cpu_tmp = (cpu_L07_t) name_service(A_surfxml_route_src);
xbt_assert1(cpu_tmp, "Invalid cpu %s", A_surfxml_route_src);
cpu_tmp = (cpu_L07_t) name_service(A_surfxml_route_src);
xbt_assert1(cpu_tmp, "Invalid cpu %s", A_surfxml_route_src);