3 public static void main( String argv[] ) {
7 if( argv.length > 0 ) {
8 count = count * Integer.parseInt( argv[0] );
11 long s = System.currentTimeMillis();
18 for( long i = 0; i < count; i++ ) {
20 // the subsequent sibling has a dependence
33 e1 = System.currentTimeMillis();
35 e2 = System.currentTimeMillis();
37 double dt1 = ((double)e1-s)/(Math.pow( 10.0, 3.0 ) );
38 double dt2 = ((double)e2-s)/(Math.pow( 10.0, 3.0 ) );
39 System.out.println( "dt to parent done ="+dt1+"s" );
40 System.out.println( "dt to parent retired="+dt2+"s" );