NetworkSim.simulation.tools.performance_analysis.get_service_delay

NetworkSim.simulation.tools.performance_analysis.get_service_delay(simulator)[source]

Function to compute the service delay latency of the defined network.

The service delay is defined from the moment a data packet is at the head of the transmittor buffer queue to the moment when the packet is fully transmitted.

Parameters

simulator (BaseSimulator) – The simulator used to create the network.

Returns

service_delay – The estimated average service delay latency of the network.

Return type

float