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
Added a gtnets_jitter_seed parameter enabling jitted repeatable experiments, activate...
[simgrid.git]
/
src
/
surf
/
gtnets
/
gtnets_interface.h
diff --git
a/src/surf/gtnets/gtnets_interface.h
b/src/surf/gtnets/gtnets_interface.h
index
aa3f2d2
..
675968d
100644
(file)
--- a/
src/surf/gtnets/gtnets_interface.h
+++ b/
src/surf/gtnets/gtnets_interface.h
@@
-11,22
+11,26
@@
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
extern "C" {
#endif
-
+
int gtnets_initialize();
int gtnets_add_link(int id, double bandwidth, double latency);
int gtnets_initialize();
int gtnets_add_link(int id, double bandwidth, double latency);
- int gtnets_add_route(int src, int dst, int
*
links, int nlink);
+ int gtnets_add_route(int src, int dst, int
*
links, int nlink);
int gtnets_add_router(int id);
int gtnets_add_onehop_route(int src, int dst, int link);
int gtnets_add_router(int id);
int gtnets_add_onehop_route(int src, int dst, int link);
- int gtnets_create_flow(int src, int dst, long datasize, void
*
metadata);
+ int gtnets_create_flow(int src, int dst, long datasize, void
*
metadata);
double gtnets_get_time_to_next_flow_completion();
double gtnets_get_time_to_next_flow_completion();
- int gtnets_run_until_next_flow_completion(void*** metadata, int* number_of_flows);
+ int gtnets_run_until_next_flow_completion(void ***metadata,
+ int *number_of_flows);
+ double gtnets_get_flow_rx(void *metadata);
+
+ void gtnets_print_topology(void);
+
int gtnets_run(double delta);
int gtnets_finalize();
int gtnets_run(double delta);
int gtnets_finalize();
+ void gtnets_set_jitter(double);
+ void gtnets_set_jitter_seed(int);
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
}
#endif
-
#endif
#endif
-
-