how to start timing and print the timing result on portions of java codes ??
how to insert timer within java code , for example ...
Code:
timerStart(); //probably set to zero or ... links to example code welcome ... //thanks in advance ... . |
are you looking for
System.currentTimeMillis(), or System.nanoTime()? i can't post a link to the javadoc because im not allowed, but it is in System (obviously). the example code given there is... Code:
long startTime = System.nanoTime(); |
thanks ... those lines really work great for my general needs ...
//sorry for my laziness , actually i was kind of onto this tcl , so no java/pascal during that moment but i just need a java live doc ... //great ... . |
All times are GMT -5. The time now is 03:07 PM. |