When performance of Java applications needs to be measured in milliseconds, note that Java is dependent upon the operating system's internal clock. Operating systems vary in the precision that they track time . For example, many operating systems measure time in units of tens of milliseconds such that slight discrepancies might be seen between computer time and coordinated universal time (UTC).