MonitorsUtils

class mtf.test_utilities.monitors_utils.MonitorsUtils

MonitorsUtils class that contains static methods for common functionality.

static check_cyclicity(queue: list, cycle: int, deviation: int, unit: str)

Checks message cyclicity, can be used for any Ethernet protocol.

=== Arguments Description ===

queue: list : list of timestamp

cycle: int : cycle

deviation: int : deviation

unit: intunit of cycle and deviation
Examples , ms, us and ns

s: Seconds ms : Milliseconds us : Microseconds ns : Nanoseconds

=== Returns ===

Tuple: (bool, str) - True if messages are cyclic; otherwise, False.