On Tue, 6 Mar 2001, Fred Klingener wrote:
> Here's an ugly little program I wrote to probe this interaction between
> Behaviors and the OS clock. By poking around some, I persuaded myself that
> the WakeupOnElapsedTime() Behavior was driven by the same mechanism as the
> Object.wait() method. The enclosed application gives the following output:
> dt is the argument to the wait(dt) in milliseconds, and OSdt is the realized
> delay time in milliseconds. I haven't successfully run this on anything but
> WinNT and W2000k.
I just tried it on a Sun Ultra 5, 128Mb ram, some ATI 8Mb video card,
jdk 1.2.2, j3d 1.1.3.
Run 3/7/01 9:38 AM
os.name: SunOS
os.arch: sparc
os.version: 5.7
dt OSdt
---- ----
1 19 **********
2 19 **********
3 18 *********
4 19 **********
5 20 **********
6 20 **********
7 20 **********
8 20 **********
9 20 **********
10 20 **********
11 20 **********
12 20 **********
13 20 **********
14 20 **********
15 20 **********
16 20 **********
17 20 **********
18 20 **********
19 20 **********
20 30 ***************
21 30 ***************
22 30 ***************
23 30 ***************
24 30 ***************
25 30 ***************
26 30 ***************
27 30 ***************
28 30 ***************
29 30 ***************
30 40 ********************
31 40 ********************
32 40 ********************
33 40 ********************
34 40 ********************
35 40 ********************
36 40 ********************
37 40 ********************
38 40 ********************
39 40 ********************
40 55 ****************************
41 50 *************************
42 50 *************************
43 50 *************************
44 50 *************************
45 55 ****************************
46 55 ****************************
47 55 ****************************
48 55 ****************************
49 55 ****************************
Hope it's usefull.
regards,
Fabrizio Nunnari
===========================================================================
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".