Friday, August 31, 2007

Java Calculate process time

long start=System.currentTimeMillis();
tins.process();
long end=System.currentTimeMillis();
long total=(end-start)/1000; //in second

No comments: