A
Aaron Fude
Hi,
Time to satisfy my curiosity. The output of the following program
public static void main(String[] inArgv) {
int N = 1000000;
long[] times = new long[N];
for (int i = 0; i < N; i++)
times = System.currentTimeMillis();
for (int i = 0; i < 10; i++)
System.out.println(times[i*(N/10)]);
}
....is
1085719861549
1085719861559
1085719861569
1085719861580
1085719861590
1085719861600
1085719861610
1085719861620
1085719861620
1085719861630
It seems that the java clock ticks in 10's of milliseconds. Is there
anything interesting anyone can say about this?
Aaron Fude
Time to satisfy my curiosity. The output of the following program
public static void main(String[] inArgv) {
int N = 1000000;
long[] times = new long[N];
for (int i = 0; i < N; i++)
times = System.currentTimeMillis();
for (int i = 0; i < 10; i++)
System.out.println(times[i*(N/10)]);
}
....is
1085719861549
1085719861559
1085719861569
1085719861580
1085719861590
1085719861600
1085719861610
1085719861620
1085719861620
1085719861630
It seems that the java clock ticks in 10's of milliseconds. Is there
anything interesting anyone can say about this?
Aaron Fude