10 int main (int argc, char * argv[])
13 if ((argc >= 3) && !strcmp(argv[1],"-r")) {
14 repetitions = atoi(argv[2]);
19 uintL len = atoi(argv[1]);
20 extern cl_LF cl_zeta (int s, uintC len);
21 extern cl_LF compute_zeta_exp (int s, uintC len);
22 extern cl_LF compute_zeta_cvz1 (int s, uintC len);
23 extern cl_LF compute_zeta_cvz2 (int s, uintC len);
24 extern cl_LF cl_zeta3 (uintC len);
26 ln(cl_I_to_LF(1000,len+10)); // fill cache
28 for (int rep = repetitions; rep > 0; rep--)
29 { p = compute_zeta_exp(3,len); }
33 for (int rep = repetitions; rep > 0; rep--)
34 { p = compute_zeta_cvz1(3,len); }
38 for (int rep = repetitions; rep > 0; rep--)
39 { p = compute_zeta_cvz2(3,len); }
43 for (int rep = repetitions; rep > 0; rep--)
44 { p = cl_zeta3(len); }