4 lines
127 B
Java
4 lines
127 B
Java
|
|
long start = System.currentTimeMillis();
|
||
|
|
/* code you want to time, here */
|
||
|
|
long duration = System.currentTimeMillis() - start;
|