long time=System.currentTimeMillis();
~
System.out.println("time:"+time+"ms");

이게 맞는 건가요?