implement latency stats collector