Allow direct invocation of latency analysis (for unit test)