1 /* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. The SimGrid Team.
2 * All rights reserved. */
4 /* This program is free software; you can redistribute it and/or modify it
5 * under the terms of the license (GNU LGPL) which comes with this package. */
11 #include "xbt/dynar.h"
15 #include "xbt/config.h"
16 #include "surf/datatypes.h"
19 /* Actions and models are highly connected structures... */
21 SURF_RESOURCE_ON = 1, /**< Up & ready */
22 SURF_RESOURCE_OFF = 0 /**< Down & broken */
23 } e_surf_resource_state_t;
25 /** @Brief Specify that we use that action */
26 XBT_PUBLIC(void) surf_action_ref(surf_action_t action);
27 /** @brief Creates a new action.
29 * @param size The size is the one of the subtype you want to create
30 * @param cost initial value
31 * @param model to which model we should attach this action
32 * @param failed whether we should start this action in failed mode
34 XBT_PUBLIC(void *) surf_action_new(size_t size, double cost,
35 surf_model_t model, int failed);
38 * FIXME : still improvaleb [this should be done in the binding code]
40 XBT_PUBLIC(void) network_create_resource(char *name,
41 double initial_bandwidth,double initial_latency);
43 XBT_PUBLIC(void) workstation_link_create_resource(char *name,
44 double initial_bandwidth,double initial_latency);
46 /** \brief Resource model description
48 typedef struct surf_model_description {
50 const char *description;
52 void (*model_init_preparse) (const char *filename);
53 void (*model_init_postparse) (void);
54 } s_surf_model_description_t, *surf_model_description_t;
56 XBT_PUBLIC(void) update_model_description(s_surf_model_description_t * table,
59 XBT_PUBLIC(int) find_model_description(s_surf_model_description_t * table,
61 XBT_PUBLIC(void) model_help(const char* category, s_surf_model_description_t * table);
63 /** \brief Action structure
64 * \ingroup SURF_actions
66 * Never create s_surf_action_t by yourself ! The actions are created
67 * on the fly when you call execute or communicate on a model.
69 * \see e_surf_action_state_t
71 typedef struct surf_action {
72 s_xbt_swag_hookup_t state_hookup;
74 double cost; /**< cost */
75 double priority; /**< priority (1.0 by default) */
76 double max_duration; /**< max_duration (may fluctuate until
77 the task is completed) */
78 double remains; /**< How much of that cost remains to
79 * be done in the currently running task */
80 int latency_limited; /**< Set to 1 if is limited by latency, 0 otherwise */
82 double start; /**< start time */
83 double finish; /**< finish time : this is modified during the run
84 * and fluctuates until the task is completed */
85 void *data; /**< for your convenience */
87 surf_model_t model_type;
90 typedef struct surf_action_lmm {
91 s_surf_action_t generic_action;
92 lmm_variable_t variable;
94 } s_surf_action_lmm_t, *surf_action_lmm_t;
96 /** \brief Action states
97 * \ingroup SURF_actions
101 * \see surf_action_t, surf_action_state_t
104 SURF_ACTION_READY = 0, /**< Ready */
105 SURF_ACTION_RUNNING, /**< Running */
106 SURF_ACTION_FAILED, /**< Task Failure */
107 SURF_ACTION_DONE, /**< Completed */
108 SURF_ACTION_TO_FREE, /**< Action to free in next cleanup */
109 SURF_ACTION_NOT_IN_THE_SYSTEM
110 /**< Not in the system anymore. Why did you ask ? */
111 } e_surf_action_state_t;
113 /** \brief Action state sets
114 * \ingroup SURF_actions
116 * This structure contains some sets of actions.
117 * It provides a fast access to the actions in each state.
119 * \see surf_action_t, e_surf_action_state_t
121 typedef struct surf_action_state {
122 xbt_swag_t ready_action_set;
123 /**< Actions in state SURF_ACTION_READY */
124 xbt_swag_t running_action_set;
125 /**< Actions in state SURF_ACTION_RUNNING */
126 xbt_swag_t failed_action_set;
127 /**< Actions in state SURF_ACTION_FAILED */
128 xbt_swag_t done_action_set;
129 /**< Actions in state SURF_ACTION_DONE */
130 } s_surf_action_state_t, *surf_action_state_t;
132 /***************************/
133 /* Generic model object */
134 /***************************/
135 typedef struct s_routing s_routing_t, *routing_t;
136 XBT_PUBLIC_DATA(routing_t) used_routing;
138 /** \brief Private data available on all models
139 * \ingroup SURF_models
141 typedef struct surf_model_private *surf_model_private_t;
143 /** \brief Timer model extension public
144 * \ingroup SURF_model
146 * Additionnal functions specific to the timer model
148 typedef struct surf_timer_model_extension_public {
149 void (*set) (double date, void *function, void *arg);
150 int (*get) (void **function, void **arg);
151 } s_surf_model_extension_timer_t;
155 /** \brief CPU model extension public
156 * \ingroup SURF_models
158 * Public functions specific to the CPU model.
160 typedef struct surf_cpu_model_extension_public {
161 surf_action_t(*execute) (void *cpu, double size);
162 surf_action_t(*sleep) (void *cpu, double duration);
163 e_surf_resource_state_t(*get_state) (void *cpu);
164 double (*get_speed) (void *cpu, double load);
165 double (*get_available_speed) (void *cpu);
166 void (*create_resource)(char *name, double power_peak,
168 tmgr_trace_t power_trace,
169 e_surf_resource_state_t state_initial,
170 tmgr_trace_t state_trace,
171 xbt_dict_t cpu_properties);
172 void (*add_traces)(void);
173 } s_surf_model_extension_cpu_t;
177 /** \brief Network model extension public
178 * \ingroup SURF_models
180 * Public functions specific to the network model
182 typedef struct surf_network_model_extension_public {
183 surf_action_t(*communicate) (const char *src_name,
184 const char *dst_name, int src, int dst,
185 double size, double rate);
186 xbt_dynar_t(*get_route) (int src, int dst);
187 double (*get_link_bandwidth) (const void *link);
188 double (*get_link_latency) (const void *link);
189 int (*link_shared) (const void *link);
190 void (*create_resource) (char *name,double bw_initial,double lat_initial);
191 void (*add_traces)(void);
192 } s_surf_model_extension_network_t;
194 /** \brief Workstation model extension public
195 * \ingroup SURF_models
197 * Public functions specific to the workstation model.
199 typedef struct surf_workstation_model_extension_public {
200 surf_action_t(*execute) (void *workstation, double size); /**< Execute a computation amount on a workstation
201 and create the corresponding action */
202 surf_action_t(*sleep) (void *workstation, double duration); /**< Make a workstation sleep during a given duration */
203 e_surf_resource_state_t(*get_state) (void *workstation); /**< Return the CPU state of a workstation */
204 double (*get_speed) (void *workstation, double load); /**< Return the speed of a workstation */
205 double (*get_available_speed) (void *workstation); /**< Return tha available speed of a workstation */
206 surf_action_t(*communicate) (void *workstation_src, /**< Execute a communication amount between two workstations */
207 void *workstation_dst, double size,
209 xbt_dynar_t(*get_route) (void *workstation_src, void *workstation_dst); /**< Get the list of links between two ws */
211 surf_action_t(*execute_parallel_task) (int workstation_nb, /**< Execute a parallel task on several workstations */
212 void **workstation_list,
213 double *computation_amount,
214 double *communication_amount,
215 double amount, double rate);
216 double (*get_link_bandwidth) (const void *link); /**< Return the current bandwidth of a network link */
217 double (*get_link_latency) (const void *link); /**< Return the current latency of a network link */
218 int (*link_shared) (const void *link);
219 xbt_dict_t(*get_properties) (const void *resource);
220 void (*link_create_resource) (char *name,double bw_initial,double lat_initial);
221 void (*cpu_create_resource)(char *name, double power_peak,
223 tmgr_trace_t power_trace,
224 e_surf_resource_state_t state_initial,
225 tmgr_trace_t state_trace,
226 xbt_dict_t cpu_properties);
227 void (*add_traces) (void);
228 } s_surf_model_extension_workstation_t;
230 /** \brief Model datatype
231 * \ingroup SURF_models
233 * Generic data structure for a model. The workstations,
234 * the CPUs and the network links are examples of models.
236 typedef struct surf_model {
237 const char *name;/**< Name of this model */
238 s_surf_action_state_t states; /**< Any living action on this model */
240 e_surf_action_state_t(*action_state_get) (surf_action_t action);
241 /**< Return the state of an action */
242 void (*action_state_set) (surf_action_t action,
243 e_surf_action_state_t state);
244 /**< Change an action state*/
246 double (*action_get_start_time) (surf_action_t action);/**< Return the start time of an action */
247 double (*action_get_finish_time) (surf_action_t action);/**< Return the finish time of an action */
248 int (*action_unref) (surf_action_t action);/**< Specify that we don't use that action anymore */
249 void (*action_cancel) (surf_action_t action);/**< Cancel a running action */
250 void (*action_recycle) (surf_action_t action);/**< Recycle an action */
251 void (*action_data_set) (surf_action_t action, void *data);/**< Set the user data of an action */
252 void (*suspend) (surf_action_t action);/**< Suspend an action */
253 void (*resume) (surf_action_t action);/**< Resume a suspended action */
254 int (*is_suspended) (surf_action_t action);/**< Return whether an action is suspended */
255 void (*set_max_duration) (surf_action_t action, double duration);/**< Set the max duration of an action*/
256 void (*set_priority) (surf_action_t action, double priority);/**< Set the priority of an action */
257 double (*get_remains) (surf_action_t action);/**< Get the remains of an action */
258 int (*get_latency_limited) (surf_action_t action);/**< Return 1 if action is limited by latency, 0 otherwise */
260 xbt_dict_t resource_set;
263 surf_model_private_t model_private;
267 s_surf_model_extension_timer_t timer;
268 s_surf_model_extension_cpu_t cpu;
269 s_surf_model_extension_network_t network;
270 s_surf_model_extension_workstation_t workstation;
274 surf_model_t surf_model_init(void);
275 void surf_model_exit(surf_model_t model);
277 void *surf_model_resource_by_name(surf_model_t model, const char *name);
278 #define surf_model_resource_set(model) (model)->resource_set
280 typedef struct surf_resource {
283 xbt_dict_t properties;
284 } s_surf_resource_t, *surf_resource_t;
289 * Resource which have a metric handled by a maxmin system
294 tmgr_trace_event_t event;
297 typedef struct surf_resource_lmm {
298 s_surf_resource_t generic_resource;
299 lmm_constraint_t constraint;
300 e_surf_resource_state_t state_current;
301 tmgr_trace_event_t state_event;
302 s_surf_metric_t power;
303 } s_surf_resource_lmm_t, *surf_resource_lmm_t;
305 /**************************************/
306 /* Implementations of model object */
307 /**************************************/
310 /** \brief The timer model
311 * \ingroup SURF_models
313 XBT_PUBLIC_DATA(surf_model_t) surf_timer_model;
315 /** \brief Initializes the timer model
316 * \ingroup SURF_models
318 XBT_PUBLIC(void) surf_timer_model_init(const char *filename);
320 /** \brief The CPU model
321 * \ingroup SURF_models
323 XBT_PUBLIC_DATA(surf_model_t) surf_cpu_model;
325 /** \brief Initializes the CPU model with the model Cas01
326 * \ingroup SURF_models
328 * This function is called by surf_workstation_model_init_CLM03
329 * so you shouldn't have to call it by yourself.
331 * \see surf_workstation_model_init_CLM03()
333 XBT_PUBLIC(void) surf_cpu_model_init_Cas01(const char *filename);
335 /** \brief Initializes the CPU model with trace integration
336 * \ingroup SURF_models
339 XBT_PUBLIC(void) surf_cpu_model_init_ti(const char *filename);
341 /** \brief Initializes the CPU model with the model Cas01 Improved. This model uses a heap to order the events, decreasing the time complexity to get the minimum next event.
342 * \ingroup SURF_models
344 * This function is called by surf_workstation_model_init_CLM03
345 * so you shouldn't have to call it by yourself.
347 * \see surf_workstation_model_init_CLM03()
349 XBT_PUBLIC(void) surf_cpu_model_init_Cas01_im(const char *filename);
351 /** \brief The list of all available cpu model models
352 * \ingroup SURF_models
354 XBT_PUBLIC_DATA(s_surf_model_description_t) surf_cpu_model_description[];
356 XBT_PUBLIC(void) create_workstations(void);
358 /**\brief create new host bypass the parser
363 /** \brief The network model
364 * \ingroup SURF_models
366 * When creating a new API on top on SURF, you shouldn't use the
367 * network model unless you know what you are doing. Only the workstation
368 * model should be accessed because depending on the platform model,
369 * the network model can be NULL.
371 XBT_PUBLIC_DATA(surf_model_t) surf_network_model;
373 /** \brief Same as network model 'LagrangeVelho', only with different correction factors.
374 * \ingroup SURF_models
375 * \param filename XML platform file name
377 * This model is proposed by Pierre-Nicolas Clauss and Martin Quinson and Stéphane Génaud
378 * based on the model 'LV08' and different correction factors depending on the communication
379 * size (< 1KiB, < 64KiB, >= 64KiB).
381 * \see surf_workstation_model_init_SMPI()
383 XBT_PUBLIC(void) surf_network_model_init_SMPI(const char *filename);
385 /** \brief Initializes the platform with the network model 'LagrangeVelho'
386 * \ingroup SURF_models
387 * \param filename XML platform file name
389 * This model is proposed by Arnaud Legrand and Pedro Velho based on
390 * the results obtained with the GTNets simulator for onelink and
391 * dogbone sharing scenarios.
393 * \see surf_workstation_model_init_LegrandVelho()
395 XBT_PUBLIC(void) surf_network_model_init_LegrandVelho(const char *filename);
397 /** \brief Initializes the platform with the network model 'Constant'
398 * \ingroup SURF_models
399 * \param filename XML platform file name
401 * In this model, the communication time between two network cards is
402 * constant, hence no need for a routing table. This is particularly
403 * usefull when simulating huge distributed algorithms where
404 * scalability is really an issue. This function is called in
405 * conjunction with surf_workstation_model_init_compound.
407 * \see surf_workstation_model_init_compound()
409 XBT_PUBLIC(void) surf_network_model_init_Constant(const char *filename);
411 XBT_PUBLIC(void) surf_network_model_init_Vivaldi(const char *filename);
413 /** \brief Initializes the platform with the network model CM02
414 * \ingroup SURF_models
415 * \param filename XML platform file name
417 * This function is called by surf_workstation_model_init_CLM03
418 * or by yourself only if you plan using surf_workstation_model_init_compound
420 * \see surf_workstation_model_init_CLM03()
422 XBT_PUBLIC(void) surf_network_model_init_CM02(const char *filename);
425 * brief initialize the the network model bypassing the XML parser
427 XBT_PUBLIC(void) surf_network_model_init_bypass(const char* id,double initial_bw,double initial_lat);
430 /** \brief Initializes the platform with the network model GTNETS
431 * \ingroup SURF_models
432 * \param filename XML platform file name
434 * This function is called by surf_workstation_model_init_GTNETS
435 * or by yourself only if you plan using surf_workstation_model_init_compound
437 * \see surf_workstation_model_init_GTNETS()
439 XBT_PUBLIC(void) surf_network_model_init_GTNETS(const char *filename);
442 /** \brief Initializes the platform with the network model Reno
443 * \ingroup SURF_models
444 * \param filename XML platform file name
446 * The problem is related to max( sum( arctan(C * Df * xi) ) ).
449 * [LOW03] S. H. Low. A duality model of TCP and queue management algorithms.
450 * IEEE/ACM Transaction on Networking, 11(4):525-536, 2003.
452 * Call this function only if you plan using surf_workstation_model_init_compound.
455 XBT_PUBLIC(void) surf_network_model_init_Reno(const char *filename);
457 /** \brief Initializes the platform with the network model Reno2
458 * \ingroup SURF_models
459 * \param filename XML platform file name
461 * The problem is related to max( sum( arctan(C * Df * xi) ) ).
464 * [LOW01] S. H. Low. A duality model of TCP and queue management algorithms.
465 * IEEE/ACM Transaction on Networking, 11(4):525-536, 2003.
467 * Call this function only if you plan using surf_workstation_model_init_compound.
470 XBT_PUBLIC(void) surf_network_model_init_Reno2(const char *filename);
472 /** \brief Initializes the platform with the network model Vegas
473 * \ingroup SURF_models
474 * \param filename XML platform file name
476 * This problem is related to max( sum( a * Df * ln(xi) ) ) which is equivalent
477 * to the proportional fairness.
480 * [LOW03] S. H. Low. A duality model of TCP and queue management algorithms.
481 * IEEE/ACM Transaction on Networking, 11(4):525-536, 2003.
483 * Call this function only if you plan using surf_workstation_model_init_compound.
486 XBT_PUBLIC(void) surf_network_model_init_Vegas(const char *filename);
488 /** \brief The list of all available network model models
489 * \ingroup SURF_models
491 XBT_PUBLIC_DATA(s_surf_model_description_t) surf_network_model_description[];
494 /** \brief The workstation model
495 * \ingroup SURF_models
497 * Note that when you create an API on top of SURF,
498 * the workstation model should be the only one you use
499 * because depending on the platform model, the network model and the CPU model
502 XBT_PUBLIC_DATA(surf_model_t) surf_workstation_model;
504 /** \brief Initializes the platform with a compound workstation model
505 * \ingroup SURF_models
506 * \param filename XML platform file name
508 * This function should be called after a cpu_model and a
509 * network_model have been set up.
512 XBT_PUBLIC(void) surf_workstation_model_init_compound(const char *filename);
514 /** \brief Initializes the platform with the workstation model CLM03
515 * \ingroup SURF_models
516 * \param filename XML platform file name
518 * This platform model seperates the workstation model and the network model.
519 * The workstation model will be initialized with the model CLM03, the network
520 * model with the model CM02 and the CPU model with the model Cas01.
521 * In future releases, some other network models will be implemented and will be
522 * combined with the workstation model CLM03.
524 * \see surf_workstation_model_init_KCCFLN05()
526 XBT_PUBLIC(void) surf_workstation_model_init_CLM03(const char *filename);
528 /** \brief Initializes the platform with the model KCCFLN05
529 * \ingroup SURF_models
530 * \param filename XML platform file name
532 * With this model, the workstations and the network are handled
533 * together. The network model is roughly the same as in CM02 but
534 * interference between computations and communications can be taken
535 * into account. This platform model is the default one for MSG and
539 XBT_PUBLIC(void) surf_workstation_model_init_KCCFLN05(const char *filename);
541 /** \brief Initializes the platform with the model KCCFLN05
542 * \ingroup SURF_models
543 * \param filename XML platform file name
545 * With this model, only parallel tasks can be used. Resource sharing
546 * is done by identifying bottlenecks and giving an equal share of
547 * the model to each action.
550 XBT_PUBLIC(void) surf_workstation_model_init_ptask_L07(const char *filename);
552 /** \brief The list of all available workstation model models
553 * \ingroup SURF_models
555 XBT_PUBLIC_DATA(s_surf_model_description_t)
556 surf_workstation_model_description[];
558 /** \brief List of initialized models
559 * \ingroup SURF_models
561 XBT_PUBLIC_DATA(xbt_dynar_t) model_list;
563 /*******************************************/
564 /*** SURF Globals **************************/
565 /*******************************************/
566 XBT_PUBLIC_DATA(xbt_cfg_t) _surf_cfg_set;
568 /** \brief Initialize SURF
569 * \ingroup SURF_simulation
570 * \param argc argument number
571 * \param argv arguments
573 * This function has to be called to initialize the common
574 * structures. Then you will have to create the environment by
575 * calling surf_timer_model_init() and
576 * e.g. surf_workstation_model_init_CLM03() or
577 * surf_workstation_model_init_KCCFLN05().
579 * \see surf_timer_model_init(), surf_workstation_model_init_CLM03(),
580 * surf_workstation_model_init_KCCFLN05(), surf_workstation_model_init_compound(), surf_exit()
582 XBT_PUBLIC(void) surf_init(int *argc, char **argv); /* initialize common structures */
584 /** \brief Initialize the used models.
586 * Must be called after the surf_init so that configuration infrastructure is created
587 * Must be called before parsing/creating the environment
588 * Must not be called within the initialization process so that the use get a chance to change the settings from
589 * its code between, say, MSG_init and MSG_create_environment using MSG_config
591 XBT_PUBLIC(void) surf_config_models_setup(const char *platform_file);
593 /** \brief create the elements of the models
595 * Must be called after parsing the platform file and before using any elements
597 XBT_PUBLIC(void) surf_config_models_create_elms(void);
599 /** \brief Finish simulation initialization
600 * \ingroup SURF_simulation
602 * This function must be called before the first call to surf_solve()
604 XBT_PUBLIC(void) surf_presolve(void);
606 /** \brief Performs a part of the simulation
607 * \ingroup SURF_simulation
608 * \return the elapsed time, or -1.0 if no event could be executed
610 * This function execute all possible events, update the action states
611 * and returns the time elapsed.
612 * When you call execute or communicate on a model, the corresponding actions
613 * are not executed immediately but only when you call surf_solve.
614 * Note that the returned elapsed time can be zero.
616 XBT_PUBLIC(double) surf_solve(void);
618 /** \brief Return the current time
619 * \ingroup SURF_simulation
621 * Return the current time in millisecond.
623 XBT_PUBLIC(double) surf_get_clock(void);
626 * \ingroup SURF_simulation
632 XBT_PUBLIC(void) surf_exit(void);
634 /* Prototypes of the functions that handle the properties */
635 XBT_PUBLIC_DATA(xbt_dict_t) current_property_set; /* the prop set for the currently parsed element (also used in SIMIX) */
636 XBT_PUBLIC_DATA(void) parse_properties(void);
638 /* surf parse file related (public because called from a test suite) */
639 XBT_PUBLIC(void) parse_platform_file(const char *file);
641 /* Stores the sets */
642 XBT_PUBLIC_DATA(xbt_dict_t) set_list;
644 XBT_PUBLIC_DATA(void) manage_route(xbt_dict_t route_table,
645 const char *route_name, int action,
647 XBT_PUBLIC_DATA(int) route_action;
649 /* This is used by all models when creating the routing table while parsing */
650 XBT_PUBLIC_DATA(xbt_dict_t) route_table;
651 XBT_PUBLIC_DATA(xbt_dict_t) route_multi_table;
654 /* For the trace and trace:connect tag (store their content till the end of the parsing) */
655 XBT_PUBLIC_DATA(xbt_dict_t) traces_set_list;
656 XBT_PUBLIC_DATA(xbt_dict_t) trace_connect_list_host_avail;
657 XBT_PUBLIC_DATA(xbt_dict_t) trace_connect_list_power;
658 XBT_PUBLIC_DATA(xbt_dict_t) trace_connect_list_link_avail;
659 XBT_PUBLIC_DATA(xbt_dict_t) trace_connect_list_bandwidth;
660 XBT_PUBLIC_DATA(xbt_dict_t) trace_connect_list_latency;
663 XBT_PUBLIC(double) get_cpu_power(const char *power);
665 /*public interface to create resource bypassing the parser via cpu/network model
667 * see surfxml_parse.c
669 XBT_PUBLIC(void) surf_host_create_resource(char *name, double power_peak,
671 tmgr_trace_t power_trace,
672 e_surf_resource_state_t state_initial,
673 tmgr_trace_t state_trace,
674 xbt_dict_t cpu_properties);
676 /*public interface to create resource bypassing the parser via workstation_ptask_L07 model
678 * see surfxml_parse.c
680 XBT_PUBLIC(void) surf_wsL07_host_create_resource(char *name, double power_peak,
682 tmgr_trace_t power_trace,
683 e_surf_resource_state_t state_initial,
684 tmgr_trace_t state_trace,
685 xbt_dict_t cpu_properties);
687 * create link resource
688 * see surfxml_parse.c
689 * FIXME : shoudl have the same prototype as net_link_new
691 XBT_PUBLIC(void) surf_link_create_resource(char *name,
692 double bw_initial,double lat_initial);
695 XBT_PUBLIC(void) surf_wsL07_link_create_resource(char *name,
696 double bw_initial,double lat_initial);
698 * add route element (link_ctn) bypassing the parser
700 * see surfxml_parse.c
703 XBT_PUBLIC(void) surf_add_route_element(char *link_ctn_id);
706 * set route src_id,dest_id, and create a route resource
708 * see surf_routing.c && surfxml_parse.c
710 XBT_PUBLIC(void) surf_route_set_resource(char* src_id,char *dest_id,xbt_dynar_t links_id,int action);
711 XBT_PUBLIC(void) surf_set_routes(void);
713 * add host to routing model ( xbt_dict )
716 XBT_PUBLIC(void) surf_route_add_host(char * host_id);
720 * see surfxml_parse.c
722 XBT_PUBLIC(void) surf_add_host_traces(void);
723 XBT_PUBLIC(void) surf_add_link_traces(void);
724 XBT_PUBLIC(void) surf_wsL07_add_traces(void);
726 #include "surf/surf_resource.h"
727 #include "surf/surf_resource_lmm.h"
730 #endif /* _SURF_SURF_H */