Lines Matching +full:x +full:- +full:max
6 * C program (compile with -lm)
21 unsigned int x; in calc_runnable_avg_yN_inv() local
23 /* To silence -Wunused-but-set-variable warnings. */ in calc_runnable_avg_yN_inv()
26 x = ((1UL<<32)-1)*pow(y, i); in calc_runnable_avg_yN_inv()
29 printf("0x%8x, ", x); in calc_runnable_avg_yN_inv()
55 int n = -1;
57 long max = 1024; variable
61 long last = 0, y_inv = ((1UL<<32)-1)*y; in calc_converged_max()
64 if (n > -1) in calc_converged_max()
65 max = ((max*y_inv)>>SHIFT) + 1024; in calc_converged_max()
68 * max = max*y + 1024; in calc_converged_max()
71 if (last == max) in calc_converged_max()
74 last = max; in calc_converged_max()
76 n--; in calc_converged_max()
78 printf("#define LOAD_AVG_MAX %ld\n", max); in calc_converged_max()
84 int i, x = sum; in calc_accumulated_sum_32() local
89 x = x/2 + sum; in calc_accumulated_sum_32()
94 printf("%6d,", x); in calc_accumulated_sum_32()
101 printf("/* Generated by Documentation/scheduler/sched-pelt; do not modify. */\n\n"); in main()