A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a small bug found by eclipse, and change some details to remove false positives...
[simgrid.git]
/
src
/
surf
/
network_gtnets_private.h
diff --git
a/src/surf/network_gtnets_private.h
b/src/surf/network_gtnets_private.h
index fa6bdce867c1e3eebf8b0803786636df8e5d6e0f..96fd252adde306c58fa18f7ef2412a8bc78567c8 100644
(file)
--- a/
src/surf/network_gtnets_private.h
+++ b/
src/surf/network_gtnets_private.h
@@
-12,20
+12,24
@@
#include "xbt/dict.h"
typedef struct network_link_GTNETS {
#include "xbt/dict.h"
typedef struct network_link_GTNETS {
- surf_
resource_t resource;
/* Any such object, added in a trace
+ surf_
model_t model;
/* Any such object, added in a trace
should start by this field!!! */
/* Using this object with the public part of
should start by this field!!! */
/* Using this object with the public part of
-
resource
does not make sense */
+
model
does not make sense */
char *name;
double bw_current;
double lat_current;
int id;
char *name;
double bw_current;
double lat_current;
int id;
+ /*holds the properties associated witht the link*/
+ xbt_dict_t properties;
} s_network_link_GTNETS_t, *network_link_GTNETS_t;
typedef struct network_card_GTNETS {
char *name;
int id;
} s_network_link_GTNETS_t, *network_link_GTNETS_t;
typedef struct network_card_GTNETS {
char *name;
int id;
+ /*holds the properties associated witht the card*/
+ xbt_dict_t properties;
} s_network_card_GTNETS_t, *network_card_GTNETS_t;
typedef struct surf_action_network_GTNETS {
} s_network_card_GTNETS_t, *network_card_GTNETS_t;
typedef struct surf_action_network_GTNETS {