Comparator Measures Frequency And Phase