Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fullduplex support
[simgrid.git] / src / surf / gtnets / gtnets_interface.h
index 10a358c..9b5bbd8 100644 (file)
 extern "C" {
 #endif
 
-  int gtnets_initialize();
+  int gtnets_initialize(int wsize);
   int gtnets_add_link(int id, double bandwidth, double latency);
   int gtnets_add_route(int src, int dst, int *links, int nlink);
   int gtnets_add_router(int id);
   int gtnets_add_onehop_route(int src, int dst, int link);
   int gtnets_create_flow(int src, int dst, long datasize, void *metadata);
   double gtnets_get_time_to_next_flow_completion();
-  int gtnets_run_until_next_flow_completion(void ***metadata,
+  double gtnets_run_until_next_flow_completion(void ***metadata,
                                             int *number_of_flows);
   double gtnets_get_flow_rx(void *metadata);