主权项 |
1. An apparatus, comprising:
a network adapter configured to:
receive a first signal message from a first node in a computer network, the first signal message including at least one of a first message ID of a data message and a first sender ID, and wherein the first signal message is received at the apparatus in response to the first node receiving the data message from a source other than the apparatus;receive a second signal message from a second node in the computer network different from the first node in response to the data message being received at the second node from the first node, the second signal message including at least one of a second message ID and a second sender ID, wherein the apparatus is separate from a transmission path for the data message; at least one processor; and memory storing computer-executable instructions that, when executed by the at least one processor, cause the apparatus to:
determine a first time associated with the first signal message based on a clock at the apparatus;determine a second time associated with the second signal message based on the clock at the apparatus;determine whether the second node corresponds to an end node of the transmission path for the data message based on the second sender ID included in the second signal message received from the second node; anddetermine a latency between the first and second nodes by calculating a difference between the determined first time and second time, wherein determining the latency is performed in response to determining that the second node corresponds to the end node of the transmission path for the data message, and wherein if the apparatus determines that the second node does not correspond to the end node of the transmission path for the data message, the apparatus receives one or more additional signal messages and determines a time associated with each of the one or more additional messages based on the clock at the apparatus. |