Home | History | Annotate | Download | only in perf

Lines Matching full:n_fns

58    int n_fns, n_reps;
62 n_fns = N_LOOPS / RATIO;
69 n_fns = N_LOOPS;
71 n_fns = N_LOOPS * mul;
75 printf("%d copies of f(), %d reps\n", n_fns, n_reps);
77 char* a = mmap(0, FN_SIZE * n_fns,
84 for (i = 0; i < n_fns; i++) {
89 syscall(__NR_cacheflush, a, FN_SIZE * n_fns, ICACHE);
91 cacheflush(a, FN_SIZE * n_fns, ICACHE);
95 for (i = 0; i < n_fns; i += 4) {
100 sum1 += f1(i+0, n_fns-i+0);
101 sum2 += f2(i+1, n_fns-i+1);
102 sum3 += f3(i+2, n_fns-i+2);
103 sum4 += f4(i+3, n_fns-i+3);