x_sum 114 tools/testing/selftests/timers/freq-step.c double x, y, r, x_sum, y_sum, xy_sum, x2_sum, r2_sum; x_sum 117 tools/testing/selftests/timers/freq-step.c x_sum = 0.0, y_sum = 0.0, xy_sum = 0.0, x2_sum = 0.0; x_sum 123 tools/testing/selftests/timers/freq-step.c x_sum += x; x_sum 129 tools/testing/selftests/timers/freq-step.c *slope = (xy_sum - x_sum * y_sum / n) / (x2_sum - x_sum * x_sum / n); x_sum 130 tools/testing/selftests/timers/freq-step.c *intercept = (y_sum - *slope * x_sum) / n;