A sender device comprising: a network interface ; and one or more processors operably coupled to a memory, wherein the one or more processors are configured to: send, by an application of the sender device and to a receiver device , a test packet including a first timestamp indicating a time at which the test packet is generated by the application; obtain, from a network interface of the sender device, a second timestamp indicating a time at which the test packet is output from the sender device via the network interface; compute a time difference value between the second timestamp and the first timestamp; compare the time difference value with a threshold time value; and send, in response to comparing the time difference value with the threshold time value and if the time difference value exceeds the threshold time value, a message to a controller to notify the controller that one or more performance measurements based on the test packet are inaccurate due to internal delays of the sender device, wherein the controller is distinct from the sender device and the receiver device, wherein the threshold time value is dynamically adjusted by the sender device and based on an evaluation of a plurality of time difference values. a network interface ; and one or more processors operably coupled to a memory, wherein the one or more processors are configured to: send, by an application of the sender device and to a receiver device , a test packet including a first timestamp indicating a time at which the test packet is generated by the application; obtain, from a network interface of the sender device, a second timestamp indicating a time at which the test packet is output from the sender device via the network interface; compute a time difference value between the second timestamp and the first timestamp; compare the time difference value with a threshold time value; and send, in response to comparing the time difference value with the threshold time value and if the time difference value exceeds the threshold time value, a message to a controller to notify the controller that one or more performance measurements based on the test packet are inaccurate due to internal delays of the sender device, wherein the controller is distinct from the sender device and the receiver device, wherein the threshold time value is dynamically adjusted by the sender device and based on an evaluation of a plurality of time difference values. send, by an application of the sender device and to a receiver device , a test packet including a first timestamp indicating a time at which the test packet is generated by the application; obtain, from a network interface of the sender device, a second timestamp indicating a time at which the test packet is output from the sender device via the network interface; compute a time difference value between the second timestamp and the first timestamp; compare the time difference value with a threshold time value; and send, in response to comparing the time difference value with the threshold time value and if the time difference value exceeds the threshold time value, a message to a controller to notify the controller that one or more performance measurements based on the test packet are inaccurate due to internal delays of the sender device, wherein the controller is distinct from the sender device and the receiver device, wherein the threshold time value is dynamically adjusted by the sender device and based on an evaluation of a plurality of time difference values. <EOS>