Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
c35c33d5a30bc99146241bbe07169f7a18d87e43
[simgrid.git] / src / include / surf / surfxml_parse_values.h
1 /* Copyright (c) 2011. The SimGrid Team.
2  * All rights reserved.                                                     */
3
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. */
6
7 #ifndef SURFXML_PARSE_VALUES_H_
8 #define SURFXML_PARSE_VALUES_H_
9
10
11 typedef struct s_surf_parsing_cluster_arg *surf_parsing_cluster_arg_t;
12 typedef struct s_surf_parsing_cluster_arg {
13         const char* id;
14         const char* prefix;
15         const char* suffix;
16         const char* radical;
17         double power;
18         int core_amount;
19         double bw;
20         double lat;
21         double bb_bw;
22         double bb_lat;
23         const char* router_id;
24         e_surf_link_sharing_policy_t sharing_policy;
25         e_surf_link_sharing_policy_t bb_sharing_policy;
26         const char* availability_trace; //don't convert to tmgr_trace_t since there is a trace per host and some rewriting is needed
27         const char* state_trace;
28 } s_surf_parsing_cluster_arg_t;
29
30 typedef struct s_surf_parsing_link_up_down *surf_parsing_link_up_down_t;
31 typedef struct s_surf_parsing_link_up_down {
32         void* link_up;
33         void* link_down;
34 } s_surf_parsing_link_up_down_t;
35
36
37 extern surf_parsing_cluster_arg_t struct_cluster;
38
39 #endif /* SURFXML_PARSE_VALUES_H_ */