How to measure qt interval