Here you can find the source of cyclesToMillis(long cycles, double hz)
public static double cyclesToMillis(long cycles, double hz)
//package com.java2s; public class Main { public static double cyclesToMillis(long cycles, double hz) { return 1000 * ((double) cycles) / hz; }/*w ww. java 2 s .com*/ }