Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
The second version of hierarchical routing. I implemented the parse functions and...
[simgrid.git] / src / surf / surf_private.h
index 61a374b..8c19ac3 100644 (file)
@@ -31,11 +31,6 @@ extern int sg_network_fullduplex;
 
 extern const char *surf_action_state_names[6];
 
-typedef enum {
-  SURF_LINK_SHARED = 1,
-  SURF_LINK_FATPIPE = 0
-} e_surf_link_sharing_policy_t;
-
 typedef struct surf_model_private {
   int (*resource_used) (void *resource_id);
   /* Share the resources to the actions and return in how much time
@@ -71,6 +66,11 @@ void surf_config_finalize(void);
 void surf_config(const char *name, va_list pa);
 
 
+void net_action_recycle(surf_action_t action);
+double net_action_get_remains(surf_action_t action);
+int net_get_link_latency(surf_action_t action);
+void net_action_set_max_duration(surf_action_t action, double duration);
+
 /*
  * Returns the initial path. On Windows the initial path is
  * the current directory for the current process in the other