wrench::NetworkProximitySenderDaemon

class NetworkProximitySenderDaemon : public wrench::Service

A daemon used by a NetworkProximityService to run network measurements (proximity is computed between two such running daemons)

Public Functions

NetworkProximitySenderDaemon(Simulation *simulation, std::string hostname, S4U_CommPort *network_proximity_service_commport, double message_size, double measurement_period, double noise, int noise_seed, WRENCH_MESSAGE_PAYLOADCOLLECTION_TYPE messagepayload_list)

Constructor.

Parameters:
  • simulation – a pointer to the simulation object

  • hostname – the hostname on which to start the service

  • network_proximity_service_commport – the commport of the network proximity service

  • message_size – the size of the message to be sent between network daemons to compute proximity

  • measurement_period – the time-difference between two message transfer to compute proximity

  • noise – the maximum magnitude of random noises added to the measurement_period at each iteration, so as to avoid idiosyncratic behaviors that occur with perfect synchrony

  • noise_seed – seed for the noise RNG

  • messagepayload_list – a message payload list