|
In general, the high res timers are not as performant as the default low-res timers on various platforms. For example, System.currentTimeMillis() uses GetTickCount() on win32, which is a pretty quick method for returning that low res value. To get a higher-res value, we have to enable the multimedia platform timer, which has overhead associated with it. Some people may want higher resolution by default, but most probably do not care and would not want to suffer a performance penalty for something they are not using. At least now with System.nanoTime() there is an easy solution for those who care: call the higher-res timer if you need it. |