latency measurement for ip over ethernet multithreaded