TIME单挑1000 TIME Key Words
The cycle time must be an even multiple of the repaint interval, so if the interval is 100, then the cycle time could be 200, 500, or 1000 — but not 750.
循环时间必须是重绘时间间隔的偶数倍,所以如果间隔为100,那么循环时间应该是200、500或者1000——但不能是750。
In the case of the first two sets of figures (the Sun JVMs), the execution time using reflection is over 1000 times greater than that using direct access.
在前两副图中(Sun JVM),使用反射的执行时间超过使用直接接入的1000倍以上。
But more important, it returns a different time value each time it's called, with apparent granularity of 1000 nanoseconds (or 1 microsecond).
但是更重要的是,每次调用后,它返回不同的时间值,看起来粒度为1000纳秒(或者1毫秒)。
应用推荐