allow to customize latency sampling interval