diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2015-06-26 18:04:34 +0100 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2015-06-27 16:04:07 +0100 |
commit | da123adeae70863c967e14035f272b89371a5fd5 (patch) | |
tree | d7200b81fbe86908941bfd228f683989667904ee /lib/igt_stats.h | |
parent | 3a5cf84317197cdac88196cda76c6a7e08943f20 (diff) |
stats: Add a getter for the population property
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'lib/igt_stats.h')
-rw-r--r-- | lib/igt_stats.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 <stdint.h> +#include <stdbool.h> /** * 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); |