package qas_tool;
import android.util.Log;
public class Execution_time {
private long startTime ;
public void begin(){
startTime = System.nanoTime();
}
public void end(){
long consumingTime = System.nanoTime()-startTime;
Log.e("TTT", consumingTime/1e6+"");
}
}
沒有留言:
張貼留言