Be careful with this. This method is useful only for measuring intervals large compared to the OS time grain size, which might be tens of milliseconds. It certainly won't give meaningful results for looking at sub-frame-period timing. Fred From: Paul James Sent: Wednesday, April 04, 2001 9:39 AM +AD4- just put a call to System.currentTimeMillis() at the two points you +AD4- want to time, and then take the difference. +AD4- ie. +AD4- double time1 +AD0- System.currentTimeMillis()+ADs- +AD4- // do the timed process +AD4- double time2 +AD0- System.currentTimeMillis()+ADs- +AD4- double timeTaken +AD0- time2 - time1+ADs- +AD4- From: Sackmunky +AFs-mailto:sackmunky+AEA-HOTMAIL.COM+AF0- +AD4- Sent: Tuesday, April 03, 2001 8:00 PM +AD4APg- Is there anyway to calculate the time between set intervals.(like at +AD4APg- the beginning of a scene creation and the end to see exactly how +AD4APg- long it takes? =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
