Code

src/utils_latency.[ch]: Improve accuracy, update unit test.