Timer latency measuring