X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/350172a2c7211c5ff9a9cb7d69bfdbb89eded181..3415111c9b5acc19a1df8352138fe56d02e35eea:/src/surf/gtnets/gtnets_simulator.h diff --git a/src/surf/gtnets/gtnets_simulator.h b/src/surf/gtnets/gtnets_simulator.h index 4194383559..1b5f50efff 100644 --- a/src/surf/gtnets/gtnets_simulator.h +++ b/src/surf/gtnets/gtnets_simulator.h @@ -45,7 +45,8 @@ public: double get_time_to_next_flow_completion(); int run_until_next_flow_completion(void*** metadata, int* number_of_flows); int run(double deltat); - + //added by pedro, returns the total received by the TCPServer peer of the given action + double gtnets_get_flow_rx(void *metadata); void create_gtnets_topology(); private: void add_nodes(); @@ -60,10 +61,12 @@ private: int is_topology_; int nflow_; - map gtnets_links_; - map gtnets_nodes_; map gtnets_servers_; map gtnets_clients_; + map gtnets_links_; + map gtnets_nodes_; + //added by pedro in order to get statistics + map gtnets_action_to_flow_; map gtnets_metadata_; };