From 3a5cf84317197cdac88196cda76c6a7e08943f20 Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Fri, 26 Jun 2015 17:02:09 +0100 Subject: stats: Add a way to specify if the data set is a population or a sample This changes how we compute the variance. We want an unbiased variance when reasoning about a sample. Signed-off-by: Damien Lespiau --- tools/skl_compute_wrpll.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/skl_compute_wrpll.c') diff --git a/tools/skl_compute_wrpll.c b/tools/skl_compute_wrpll.c index cf808c7f..8b6fcd3a 100644 --- a/tools/skl_compute_wrpll.c +++ b/tools/skl_compute_wrpll.c @@ -867,6 +867,7 @@ static void test_run(struct test_ops *test) igt_stats_t stats; igt_stats_init(&stats, ARRAY_SIZE(modes)); + igt_stats_set_population(&stats, true); for (m = 0; m < ARRAY_SIZE(modes); m++) { struct skl_wrpll_params params = {}; -- cgit v1.2.3