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
Put forward declaration of static function in c file, not in header.
[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
145c10f
..
2927abe
100644
(file)
--- a/
src/surf/network_gtnets_private.h
+++ b/
src/surf/network_gtnets_private.h
@@
-11,7
+11,7
@@
#include "xbt/dict.h"
typedef struct network_link_GTNETS {
#include "xbt/dict.h"
typedef struct network_link_GTNETS {
- s_surf_resource_t generic_resource; /* Must remain first to allow casting */
+ s_surf_resource_t generic_resource;
/* Must remain first to allow casting */
/* Using this object with the public part of
model does not make sense */
double bw_current;
/* Using this object with the public part of
model does not make sense */
double bw_current;
@@
-23,13
+23,20
@@
typedef struct surf_action_network_GTNETS {
s_surf_action_t generic_action;
double latency;
double lat_current;
s_surf_action_t generic_action;
double latency;
double lat_current;
+#ifdef HAVE_TRACING
+ int last_remains;
+#endif
lmm_variable_t variable;
double rate;
int suspended;
lmm_variable_t variable;
double rate;
int suspended;
+#ifdef HAVE_TRACING
+ sg_routing_edge_t src;
+ sg_routing_edge_t dst;
+#endif //HAVE_TRACING
} s_surf_action_network_GTNETS_t, *surf_action_network_GTNETS_t;
xbt_dict_t network_card_ids;
} s_surf_action_network_GTNETS_t, *surf_action_network_GTNETS_t;
xbt_dict_t network_card_ids;
-#endif /* _SURF_NETWORK_PRIVATE_H */
+#endif
/* _SURF_NETWORK_PRIVATE_H */