Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

get runtime java

long startTime = System.nanoTime();
.....your program....
long endTime   = System.nanoTime();
long totalTime = endTime - startTime;
System.out.println(totalTime);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #runtime #java
ADD COMMENT
Topic
Name
7+6 =