花费 5 ms
java的计时:毫秒、纳秒

System.currentTimeMillis()获取毫秒值,但是其精度依赖操作系统 想实现较为精确的毫秒,可以采用 System.nanoTime()/1000000L System.nano ...

Tue Apr 03 22:44:00 CST 2018 0 1768

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM