I'm try to convert the system date/clock time to milliseconds in order to measure relative completion time of an event. I am sending a tcp connect request from unix A to unix B. I would set T1 on unix A when the request was sent, and set T2 on unix B when request was received.
T2 - T1 = delay_time
Both system times are sync'd via NTP.
Subtraction of [clock click -milliseconds] on both sides yields a negative value. I'm thinking the [clock clicks] is not based on system time but cpu clocks. Both unix boxes are same model.
Any suggestions would be appreciated.
thanks
T2 - T1 = delay_time
Both system times are sync'd via NTP.
Subtraction of [clock click -milliseconds] on both sides yields a negative value. I'm thinking the [clock clicks] is not based on system time but cpu clocks. Both unix boxes are same model.
Any suggestions would be appreciated.
thanks