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;  
-----Original Message-----
From: Sackmunky [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 8:00 PM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Calculating time.

Is there anyway to calculate the time between set intervals.(like at the beginning of a scene creation and the end to see exactly how long it takes?
 
Zak

Reply via email to