X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2c8e75834bbb63acef15c560c3de978ab3cb6fbf..bdfe4f8674f98efbf2d67ad854ef83a1d5f855ed:/src/surf/gtnets/gtnets_simulator.h diff --git a/src/surf/gtnets/gtnets_simulator.h b/src/surf/gtnets/gtnets_simulator.h index 8f814531b2..9549978382 100644 --- a/src/surf/gtnets/gtnets_simulator.h +++ b/src/surf/gtnets/gtnets_simulator.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2007, 2008, 2009, 2010. The SimGrid Team. +/* Copyright (c) 2007-2010. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -44,7 +44,8 @@ public: int add_router(int id); int create_flow(int src, int dst, long datasize, void *metadata); double get_time_to_next_flow_completion(); - int run_until_next_flow_completion(void ***metadata, int *number_of_flows); + int run_until_next_flow_completion(void ***metadata, + int *number_of_flows); int run(double deltat); // returns the total received by the TCPServer peer of the given action double gtnets_get_flow_rx(void *metadata); @@ -67,17 +68,17 @@ private: int nflow_; double jitter_; int jitter_seed_; - map< int, Uniform * > uniform_jitter_generator_; + map < int, Uniform * >uniform_jitter_generator_; - map < int, TCPServer * >gtnets_servers_; - map < int, TCPSend * >gtnets_clients_; - map < int, Linkp2p * >gtnets_links_; - map < int, Node * >gtnets_nodes_; - map < void *, int >gtnets_action_to_flow_; + map < int, TCPServer * >gtnets_servers_; + map < int, TCPSend * >gtnets_clients_; + map < int, Linkp2p * >gtnets_links_; + map < int, Node * >gtnets_nodes_; + map < void *, int >gtnets_action_to_flow_; - map < int, void *>gtnets_metadata_; + map < int, void *>gtnets_metadata_; }; -#endif /* __cplusplus */ +#endif /* __cplusplus */ #endif