|
just
put a call to System.currentTimeMillis() at the two points you want to time, and
then take the difference.
ie.
double
time1 = System.currentTimeMillis();
//
do the timed process
double
time2 = System.currentTimeMillis();
double
timeTaken = time2 - time1;
|
- [JAVA3D] Calculating time. Sackmunky
- Paul James
