Notice
Recent Posts
Recent Comments
Link
나만의공간
시스템 시작 종료시간 체크 본문
자바 실행 종료시간 체크
public class ExccuteTimeCheck {
public static void main(String[] args) {
long start = System.currentTimeMillis();
try {
Thread.sleep(3000);
} catch (Exception e) {
}
long end = System.currentTimeMillis();
System.out.println( "실행 시간 : " + ( end - start )/1000.0 );
}
}
'IT > JAVA' 카테고리의 다른 글
| JAVA enum 사용법 (0) | 2017.03.16 |
|---|---|
| DTO/Domain 속성을 Json변환시 JsonProperty를 이용하여 불필요한 도메인 제외 (1) | 2017.03.02 |
| Eclipse에서 Maven Project 생성 시 maven-resources-plugin:2.6 오류 해결 방법 (1) | 2016.05.13 |
| SSL 인증서 없이 https 통신하는 법 예제 (0) | 2015.09.24 |
| JAVA에서 Unique한 키값 얻어 오기 (0) | 2015.06.25 |
Comments
