- File:
-
- 1 edited
-
benchmark/ctxswitch/JavaThread.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
benchmark/ctxswitch/JavaThread.java
r2c3562d r2a658e9 40 40 } 41 41 public static void main(String[] args) throws InterruptedException { 42 if ( args.length > 1) System.exit( 1 );43 if ( args.length == 1 ) { times = Long.parseLong(args[0]); }42 if ( args.length > 2 ) System.exit( 1 ); 43 if ( args.length == 2 ) { times = Long.parseLong(args[1]); } 44 44 45 45 for (int i = Integer.parseInt("5"); --i >= 0 ; ) {
Note:
See TracChangeset
for help on using the changeset viewer.