14 |
|
static final long NPS = (1000L * 1000 * 1000); |
15 |
|
static int THRESHOLD; |
16 |
|
|
17 |
< |
public static void main (String[] args) throws Exception { |
17 |
> |
public static void main(String[] args) throws Exception { |
18 |
|
int procs = 0; |
19 |
|
int n = 1 << 25; |
20 |
|
int reps = 10; |
24 |
|
if (args.length > 1) |
25 |
|
n = Integer.parseInt(args[1]); |
26 |
|
if (args.length > 2) |
27 |
< |
reps = Integer.parseInt(args[1]); |
27 |
> |
reps = Integer.parseInt(args[2]); |
28 |
|
} |
29 |
|
catch (Exception e) { |
30 |
|
System.out.println("Usage: java FJSums threads n reps"); |