git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6108
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
return 0;
}
+// print topology
+void gtnets_print_topology(void){
+ gtnets_sim->print_topology();
+}
+
int gtnets_run_until_next_flow_completion(void*** metadata, int* number_of_flows);
double gtnets_get_flow_rx(void *metadata);
+ void gtnets_print_topology(void);
+
int gtnets_run(double delta);
int gtnets_finalize();
node_connect();
}
+void GTSim::print_topology(){
+ topo_->print_topology();
+}
+
// Add a route that includes more than one hop. All one hop
// routes must have been added. When this function is called
// for the first time, all gtnets nodes are generated.
// returns the total received by the TCPServer peer of the given action
double gtnets_get_flow_rx(void *metadata);
void create_gtnets_topology();
+ void print_topology();
private:
void add_nodes();
void node_connect();
}
xbt_dict_free(&route_table);
+ gtnets_print_topology();
XBT_OUT;
}