debugging the performance metric error where recieved time is before sent time