From da123adeae70863c967e14035f272b89371a5fd5 Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Fri, 26 Jun 2015 18:04:34 +0100 Subject: stats: Add a getter for the population property Signed-off-by: Damien Lespiau --- lib/igt_stats.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/igt_stats.h') diff --git a/lib/igt_stats.h b/lib/igt_stats.h index d2c1cc7a..ebc28ca3 100644 --- a/lib/igt_stats.h +++ b/lib/igt_stats.h @@ -26,6 +26,7 @@ #define __IGT_STATS_H__ #include +#include /** * igt_stats_t: @@ -45,6 +46,7 @@ typedef struct { void igt_stats_init(igt_stats_t *stats, unsigned int capacity); void igt_stats_fini(igt_stats_t *stats); +bool igt_stats_is_population(igt_stats_t *stats); void igt_stats_set_population(igt_stats_t *stats, bool full_population); void igt_stats_push(igt_stats_t *stats, uint64_t value); double igt_stats_get_mean(igt_stats_t *stats); -- cgit v1.2.3