Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Added a jitter functionallity to GTNets model, latency is increased by a random numbe...
[simgrid.git] / src / surf / gtnets / gtnets_simulator.h
index 15faec7..04490f2 100644 (file)
@@ -48,6 +48,7 @@ public:
   double gtnets_get_flow_rx(void *metadata);
   void create_gtnets_topology();
   void print_topology();
+  void set_jitter(double);
 private:
   void add_nodes();
   void node_connect();
@@ -60,6 +61,8 @@ private:
   int nnode_;
   int is_topology_;
   int nflow_;
+  double jitter_;
+  Uniform *uniform_jitter_;
 
     map < int, TCPServer * >gtnets_servers_;
     map < int, TCPSend * >gtnets_clients_;