Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
move resource_used to the private part
[simgrid.git] / src / surf / surf_private.h
index 0c28c7b..7ee42c5 100644 (file)
@@ -13,6 +13,7 @@
 #include "surf/surf_parse.h"
 
 typedef struct surf_resource_private {
 #include "surf/surf_parse.h"
 
 typedef struct surf_resource_private {
+  int (*resource_used)(void *resource_id);
   /* Share the resources to the actions and return in hom much time
       the next action may terminate */
   xbt_heap_float_t(*share_resources) (xbt_heap_float_t now);   
   /* Share the resources to the actions and return in hom much time
       the next action may terminate */
   xbt_heap_float_t(*share_resources) (xbt_heap_float_t now);