摘要:long startTime=System.currentTimeMillis();//记录开始时间 method();//此处为你调用的方法 long endTime=System.currentTimeMillis();//记录结束时间 float excTime=(float)(endTime-startTime)/1000; System.out....
阅读全文
posted @ 2018-03-28 21:22