ControlClock

class NetworkSim.simulation.tools.clock.ControlClock(model=None)[source]

Synchronised clock for all transmitter and receiver on control ring.

Parameters

model (Model) – The network model used in the simulation. Default is Model().

Variables

clock_cycle (float) – The clock cycle of the synchronised control clock.

get_clock_cycle()[source]

Generate control packet transmission clock cycle.

Returns

clock_cycle – The calculated clock cycle for control packet transmission.

Return type

float