X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4c89f4186519b2579cb507ee3d3965651a65df14..504b4d20dd2db9ea1eaa9c4b390b2a412d7c9779:/src/surf/surfxml.l diff --git a/src/surf/surfxml.l b/src/surf/surfxml.l index eb3e3ef061..90cf84778e 100644 --- a/src/surf/surfxml.l +++ b/src/surf/surfxml.l @@ -1,5 +1,5 @@ /* Validating XML processor for surf/surfxml.dtd. - * Generated 2007/05/16 11:14:15. + * Generated 2007/10/23 11:08:07. * * This program was generated with the FleXML XML processor generator. * FleXML is Copyright (C) 1999-2005 Kristoffer Rose. All rights reserved. @@ -77,72 +77,76 @@ const char rcs_surfxml_flexml[] = int surfxml_pcdata_ix; extern char *surfxml_bufferstack; #define surfxml_pcdata (surfxml_bufferstack + surfxml_pcdata_ix) -AT_surfxml_network_link_bandwidth AX_surfxml_network_link_bandwidth; -#define A_surfxml_network_link_bandwidth (surfxml_bufferstack + AX_surfxml_network_link_bandwidth) -AT_surfxml_router_name AX_surfxml_router_name; -#define A_surfxml_router_name (surfxml_bufferstack + AX_surfxml_router_name) +AT_surfxml_link_id AX_surfxml_link_id; +#define A_surfxml_link_id (surfxml_bufferstack + AX_surfxml_link_id) +AT_surfxml_prop_id AX_surfxml_prop_id; +#define A_surfxml_prop_id (surfxml_bufferstack + AX_surfxml_prop_id) +AT_surfxml_host_interference_recv AX_surfxml_host_interference_recv; +#define A_surfxml_host_interference_recv (surfxml_bufferstack + AX_surfxml_host_interference_recv) +AT_surfxml_host_id AX_surfxml_host_id; +#define A_surfxml_host_id (surfxml_bufferstack + AX_surfxml_host_id) +AT_surfxml_link_latency_file AX_surfxml_link_latency_file; +#define A_surfxml_link_latency_file (surfxml_bufferstack + AX_surfxml_link_latency_file) AT_surfxml_process_host AX_surfxml_process_host; #define A_surfxml_process_host (surfxml_bufferstack + AX_surfxml_process_host) -AT_surfxml_network_link_latency_file AX_surfxml_network_link_latency_file; -#define A_surfxml_network_link_latency_file (surfxml_bufferstack + AX_surfxml_network_link_latency_file) +AT_surfxml_host_availability_file AX_surfxml_host_availability_file; +#define A_surfxml_host_availability_file (surfxml_bufferstack + AX_surfxml_host_availability_file) +AT_surfxml_host_state AX_surfxml_host_state; +#define A_surfxml_host_state AX_surfxml_host_state +AT_surfxml_host_interference_send_recv AX_surfxml_host_interference_send_recv; +#define A_surfxml_host_interference_send_recv (surfxml_bufferstack + AX_surfxml_host_interference_send_recv) AT_surfxml_route_impact_on_dst_with_other_send AX_surfxml_route_impact_on_dst_with_other_send; #define A_surfxml_route_impact_on_dst_with_other_send (surfxml_bufferstack + AX_surfxml_route_impact_on_dst_with_other_send) -AT_surfxml_cpu_interference_send_recv AX_surfxml_cpu_interference_send_recv; -#define A_surfxml_cpu_interference_send_recv (surfxml_bufferstack + AX_surfxml_cpu_interference_send_recv) +AT_surfxml_host_interference_send AX_surfxml_host_interference_send; +#define A_surfxml_host_interference_send (surfxml_bufferstack + AX_surfxml_host_interference_send) AT_surfxml_route_impact_on_dst AX_surfxml_route_impact_on_dst; #define A_surfxml_route_impact_on_dst (surfxml_bufferstack + AX_surfxml_route_impact_on_dst) AT_surfxml_platform_description_version AX_surfxml_platform_description_version; #define A_surfxml_platform_description_version (surfxml_bufferstack + AX_surfxml_platform_description_version) +AT_surfxml_prop_value AX_surfxml_prop_value; +#define A_surfxml_prop_value (surfxml_bufferstack + AX_surfxml_prop_value) AT_surfxml_route_impact_on_src_with_other_recv AX_surfxml_route_impact_on_src_with_other_recv; #define A_surfxml_route_impact_on_src_with_other_recv (surfxml_bufferstack + AX_surfxml_route_impact_on_src_with_other_recv) -AT_surfxml_route_element_name AX_surfxml_route_element_name; -#define A_surfxml_route_element_name (surfxml_bufferstack + AX_surfxml_route_element_name) +AT_surfxml_host_power AX_surfxml_host_power; +#define A_surfxml_host_power (surfxml_bufferstack + AX_surfxml_host_power) +AT_surfxml_link_state_file AX_surfxml_link_state_file; +#define A_surfxml_link_state_file (surfxml_bufferstack + AX_surfxml_link_state_file) +AT_surfxml_router_id AX_surfxml_router_id; +#define A_surfxml_router_id (surfxml_bufferstack + AX_surfxml_router_id) AT_surfxml_process_start_time AX_surfxml_process_start_time; #define A_surfxml_process_start_time (surfxml_bufferstack + AX_surfxml_process_start_time) AT_surfxml_process_function AX_surfxml_process_function; #define A_surfxml_process_function (surfxml_bufferstack + AX_surfxml_process_function) -AT_surfxml_cpu_state AX_surfxml_cpu_state; -#define A_surfxml_cpu_state AX_surfxml_cpu_state -AT_surfxml_cpu_interference_send AX_surfxml_cpu_interference_send; -#define A_surfxml_cpu_interference_send (surfxml_bufferstack + AX_surfxml_cpu_interference_send) -AT_surfxml_network_link_bandwidth_file AX_surfxml_network_link_bandwidth_file; -#define A_surfxml_network_link_bandwidth_file (surfxml_bufferstack + AX_surfxml_network_link_bandwidth_file) -AT_surfxml_cpu_name AX_surfxml_cpu_name; -#define A_surfxml_cpu_name (surfxml_bufferstack + AX_surfxml_cpu_name) +AT_surfxml_host_max_outgoing_rate AX_surfxml_host_max_outgoing_rate; +#define A_surfxml_host_max_outgoing_rate (surfxml_bufferstack + AX_surfxml_host_max_outgoing_rate) +AT_surfxml_link_sharing_policy AX_surfxml_link_sharing_policy; +#define A_surfxml_link_sharing_policy AX_surfxml_link_sharing_policy +AT_surfxml_link_c_ctn_id AX_surfxml_link_c_ctn_id; +#define A_surfxml_link_c_ctn_id (surfxml_bufferstack + AX_surfxml_link_c_ctn_id) AT_surfxml_process_kill_time AX_surfxml_process_kill_time; #define A_surfxml_process_kill_time (surfxml_bufferstack + AX_surfxml_process_kill_time) -AT_surfxml_network_link_state AX_surfxml_network_link_state; -#define A_surfxml_network_link_state AX_surfxml_network_link_state -AT_surfxml_cpu_availability_file AX_surfxml_cpu_availability_file; -#define A_surfxml_cpu_availability_file (surfxml_bufferstack + AX_surfxml_cpu_availability_file) +AT_surfxml_host_availability AX_surfxml_host_availability; +#define A_surfxml_host_availability (surfxml_bufferstack + AX_surfxml_host_availability) AT_surfxml_argument_value AX_surfxml_argument_value; #define A_surfxml_argument_value (surfxml_bufferstack + AX_surfxml_argument_value) +AT_surfxml_link_state AX_surfxml_link_state; +#define A_surfxml_link_state AX_surfxml_link_state AT_surfxml_route_src AX_surfxml_route_src; #define A_surfxml_route_src (surfxml_bufferstack + AX_surfxml_route_src) AT_surfxml_route_impact_on_src AX_surfxml_route_impact_on_src; #define A_surfxml_route_impact_on_src (surfxml_bufferstack + AX_surfxml_route_impact_on_src) -AT_surfxml_cpu_max_outgoing_rate AX_surfxml_cpu_max_outgoing_rate; -#define A_surfxml_cpu_max_outgoing_rate (surfxml_bufferstack + AX_surfxml_cpu_max_outgoing_rate) -AT_surfxml_cpu_availability AX_surfxml_cpu_availability; -#define A_surfxml_cpu_availability (surfxml_bufferstack + AX_surfxml_cpu_availability) -AT_surfxml_cpu_interference_recv AX_surfxml_cpu_interference_recv; -#define A_surfxml_cpu_interference_recv (surfxml_bufferstack + AX_surfxml_cpu_interference_recv) -AT_surfxml_network_link_name AX_surfxml_network_link_name; -#define A_surfxml_network_link_name (surfxml_bufferstack + AX_surfxml_network_link_name) -AT_surfxml_cpu_power AX_surfxml_cpu_power; -#define A_surfxml_cpu_power (surfxml_bufferstack + AX_surfxml_cpu_power) +AT_surfxml_link_bandwidth AX_surfxml_link_bandwidth; +#define A_surfxml_link_bandwidth (surfxml_bufferstack + AX_surfxml_link_bandwidth) +AT_surfxml_link_latency AX_surfxml_link_latency; +#define A_surfxml_link_latency (surfxml_bufferstack + AX_surfxml_link_latency) AT_surfxml_include_file AX_surfxml_include_file; #define A_surfxml_include_file (surfxml_bufferstack + AX_surfxml_include_file) -AT_surfxml_network_link_sharing_policy AX_surfxml_network_link_sharing_policy; -#define A_surfxml_network_link_sharing_policy AX_surfxml_network_link_sharing_policy +AT_surfxml_link_bandwidth_file AX_surfxml_link_bandwidth_file; +#define A_surfxml_link_bandwidth_file (surfxml_bufferstack + AX_surfxml_link_bandwidth_file) +AT_surfxml_host_state_file AX_surfxml_host_state_file; +#define A_surfxml_host_state_file (surfxml_bufferstack + AX_surfxml_host_state_file) AT_surfxml_route_dst AX_surfxml_route_dst; #define A_surfxml_route_dst (surfxml_bufferstack + AX_surfxml_route_dst) -AT_surfxml_network_link_latency AX_surfxml_network_link_latency; -#define A_surfxml_network_link_latency (surfxml_bufferstack + AX_surfxml_network_link_latency) -AT_surfxml_cpu_state_file AX_surfxml_cpu_state_file; -#define A_surfxml_cpu_state_file (surfxml_bufferstack + AX_surfxml_cpu_state_file) -AT_surfxml_network_link_state_file AX_surfxml_network_link_state_file; -#define A_surfxml_network_link_state_file (surfxml_bufferstack + AX_surfxml_network_link_state_file) /* XML state. */ #ifdef FLEX_DEBUG @@ -304,13 +308,14 @@ Literal \'[^'']*\'|\"[^""]*\" * IMPOSSIBLE dummy to permit disabling rules; must be last */ %x PROLOG DOCTYPE EPILOG INCOMMENT INPI VALUE1 VALUE2 CDATA -%x ROOT_surfxml_platform_description AL_surfxml_platform_description S_surfxml_platform_description S_surfxml_platform_description_1 S_surfxml_platform_description_2 E_surfxml_platform_description -%x ROOT_surfxml_include AL_surfxml_include S_surfxml_include S_surfxml_include_1 S_surfxml_include_2 E_surfxml_include -%x ROOT_surfxml_cpu AL_surfxml_cpu E_surfxml_cpu +%x ROOT_surfxml_platform_description AL_surfxml_platform_description S_surfxml_platform_description S_surfxml_platform_description_1 S_surfxml_platform_description_2 S_surfxml_platform_description_3 S_surfxml_platform_description_4 S_surfxml_platform_description_5 S_surfxml_platform_description_6 S_surfxml_platform_description_7 S_surfxml_platform_description_8 S_surfxml_platform_description_9 S_surfxml_platform_description_10 S_surfxml_platform_description_11 S_surfxml_platform_description_12 S_surfxml_platform_description_13 S_surfxml_platform_description_14 S_surfxml_platform_description_15 S_surfxml_platform_description_16 E_surfxml_platform_description +%x ROOT_surfxml_include AL_surfxml_include E_surfxml_include +%x ROOT_surfxml_host AL_surfxml_host S_surfxml_host S_surfxml_host_1 S_surfxml_host_2 E_surfxml_host +%x ROOT_surfxml_prop AL_surfxml_prop E_surfxml_prop %x ROOT_surfxml_router AL_surfxml_router E_surfxml_router -%x ROOT_surfxml_network_link AL_surfxml_network_link E_surfxml_network_link +%x ROOT_surfxml_link AL_surfxml_link S_surfxml_link S_surfxml_link_1 S_surfxml_link_2 E_surfxml_link %x ROOT_surfxml_route AL_surfxml_route S_surfxml_route S_surfxml_route_1 S_surfxml_route_2 E_surfxml_route -%x ROOT_surfxml_route_element AL_surfxml_route_element E_surfxml_route_element +%x ROOT_surfxml_link_c_ctn AL_surfxml_link_c_ctn E_surfxml_link_c_ctn %x ROOT_surfxml_process AL_surfxml_process S_surfxml_process S_surfxml_process_1 S_surfxml_process_2 E_surfxml_process %x ROOT_surfxml_argument AL_surfxml_argument E_surfxml_argument %x IMPOSSIBLE @@ -369,31 +374,51 @@ const char* *surfxml_statenames=NULL; surfxml_statenames[S_surfxml_platform_description] = "platform_description"; surfxml_statenames[S_surfxml_platform_description_1] = "platform_description"; surfxml_statenames[S_surfxml_platform_description_2] = "platform_description"; + surfxml_statenames[S_surfxml_platform_description_3] = "platform_description"; + surfxml_statenames[S_surfxml_platform_description_4] = "platform_description"; + surfxml_statenames[S_surfxml_platform_description_5] = "platform_description"; + surfxml_statenames[S_surfxml_platform_description_6] = "platform_description"; + surfxml_statenames[S_surfxml_platform_description_7] = "platform_description"; + surfxml_statenames[S_surfxml_platform_description_8] = "platform_description"; + surfxml_statenames[S_surfxml_platform_description_9] = "platform_description"; + surfxml_statenames[S_surfxml_platform_description_10] = "platform_description"; + surfxml_statenames[S_surfxml_platform_description_11] = "platform_description"; + surfxml_statenames[S_surfxml_platform_description_12] = "platform_description"; + surfxml_statenames[S_surfxml_platform_description_13] = "platform_description"; + surfxml_statenames[S_surfxml_platform_description_14] = "platform_description"; + surfxml_statenames[S_surfxml_platform_description_15] = "platform_description"; + surfxml_statenames[S_surfxml_platform_description_16] = "platform_description"; surfxml_statenames[E_surfxml_platform_description] = "platform_description"; surfxml_statenames[ROOT_surfxml_include] = NULL; surfxml_statenames[AL_surfxml_include] = NULL; - surfxml_statenames[S_surfxml_include] = "include"; - surfxml_statenames[S_surfxml_include_1] = "include"; - surfxml_statenames[S_surfxml_include_2] = "include"; surfxml_statenames[E_surfxml_include] = "include"; - surfxml_statenames[ROOT_surfxml_cpu] = NULL; - surfxml_statenames[AL_surfxml_cpu] = NULL; - surfxml_statenames[E_surfxml_cpu] = "cpu"; + surfxml_statenames[ROOT_surfxml_host] = NULL; + surfxml_statenames[AL_surfxml_host] = NULL; + surfxml_statenames[S_surfxml_host] = "host"; + surfxml_statenames[S_surfxml_host_1] = "host"; + surfxml_statenames[S_surfxml_host_2] = "host"; + surfxml_statenames[E_surfxml_host] = "host"; + surfxml_statenames[ROOT_surfxml_prop] = NULL; + surfxml_statenames[AL_surfxml_prop] = NULL; + surfxml_statenames[E_surfxml_prop] = "prop"; surfxml_statenames[ROOT_surfxml_router] = NULL; surfxml_statenames[AL_surfxml_router] = NULL; surfxml_statenames[E_surfxml_router] = "router"; - surfxml_statenames[ROOT_surfxml_network_link] = NULL; - surfxml_statenames[AL_surfxml_network_link] = NULL; - surfxml_statenames[E_surfxml_network_link] = "network_link"; + surfxml_statenames[ROOT_surfxml_link] = NULL; + surfxml_statenames[AL_surfxml_link] = NULL; + surfxml_statenames[S_surfxml_link] = "link"; + surfxml_statenames[S_surfxml_link_1] = "link"; + surfxml_statenames[S_surfxml_link_2] = "link"; + surfxml_statenames[E_surfxml_link] = "link"; surfxml_statenames[ROOT_surfxml_route] = NULL; surfxml_statenames[AL_surfxml_route] = NULL; surfxml_statenames[S_surfxml_route] = "route"; surfxml_statenames[S_surfxml_route_1] = "route"; surfxml_statenames[S_surfxml_route_2] = "route"; surfxml_statenames[E_surfxml_route] = "route"; - surfxml_statenames[ROOT_surfxml_route_element] = NULL; - surfxml_statenames[AL_surfxml_route_element] = NULL; - surfxml_statenames[E_surfxml_route_element] = "route_element"; + surfxml_statenames[ROOT_surfxml_link_c_ctn] = NULL; + surfxml_statenames[AL_surfxml_link_c_ctn] = NULL; + surfxml_statenames[E_surfxml_link_c_ctn] = "link:ctn"; surfxml_statenames[ROOT_surfxml_process] = NULL; surfxml_statenames[AL_surfxml_process] = NULL; surfxml_statenames[S_surfxml_process] = "process"; @@ -407,7 +432,7 @@ const char* *surfxml_statenames=NULL; /* COMMENTS and PIs: handled uniformly for efficiency. */ -{ +{ "