Add tracker of UI latency.