How do you decide which component starts/stops which timer?
use a stack of timers
Originally posted by Manohar Karamballi:
There is a component which writes to the socket (say SocketWriter) and there is a component which listens socket (Say SocketListener). We start timer just before writing to socket in SocketWriter and stops timer in SocketListener and time elapsed will be time difference..