3 public static void main( String argv[] ) {
7 if( argv.length > 0 ) {
8 count = count * Integer.parseInt( argv[0] );
11 long s = System.currentTimeMillis();
19 for( long i = 0; i < count; i++ ) {
21 // the parent does a simple variable copy
22 // into this child's record at issue because
23 // the value is definitely available, the
24 // child needs the value read-only
31 e1 = System.currentTimeMillis();
33 e2 = System.currentTimeMillis();
35 double dt1 = ((double)e1-s)/(Math.pow( 10.0, 3.0 ) );
36 double dt2 = ((double)e2-s)/(Math.pow( 10.0, 3.0 ) );
37 System.out.println( "dt to parent done ="+dt1+"s" );
38 System.out.println( "dt to parent retired="+dt2+"s" );