X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/75cfb20f55fefdbc4639abaed9f511f33566a134..0d57c5f7a785e601be8c15fb6d1ca31b9cef0845:/src/surf/workstation_KCCFLN05_private.h diff --git a/src/surf/workstation_KCCFLN05_private.h b/src/surf/workstation_KCCFLN05_private.h index 458808a4aa..df0d10fa33 100644 --- a/src/surf/workstation_KCCFLN05_private.h +++ b/src/surf/workstation_KCCFLN05_private.h @@ -13,14 +13,24 @@ typedef enum { SURF_WORKSTATION_RESOURCE_CPU, SURF_WORKSTATION_RESOURCE_LINK, -} e_surf_workstation_resource_type_t; +} e_surf_workstation_model_type_t; + + +/**************************************/ +/********* router object **************/ +/**************************************/ +typedef struct router_KCCFLN05 { + char *name; + unsigned int id; +} s_router_KCCFLN05_t, *router_KCCFLN05_t; + /**************************************/ /********* cpu object *****************/ /**************************************/ typedef struct cpu_KCCFLN05 { - surf_resource_t resource; - e_surf_workstation_resource_type_t type; /* Do not move this field */ + surf_model_t model; + e_surf_workstation_model_type_t type; /* Do not move this field */ char *name; /* Do not move this field */ lmm_constraint_t constraint; lmm_constraint_t bus; @@ -42,8 +52,8 @@ typedef struct cpu_KCCFLN05 { /**************************************/ typedef struct network_link_KCCFLN05 { - surf_resource_t resource; - e_surf_workstation_resource_type_t type; /* Do not move this field */ + surf_model_t model; + e_surf_workstation_model_type_t type; /* Do not move this field */ char *name; /* Do not move this field */ lmm_constraint_t constraint; double lat_current; @@ -79,4 +89,7 @@ typedef struct surf_action_workstation_KCCFLN05 { } s_surf_action_workstation_KCCFLN05_t, *surf_action_workstation_KCCFLN05_t; + + + #endif /* _SURF_WORKSTATION_KCCFLN05_PRIVATE_H */