Added ability to get elapsed time for ping agent.