summaryrefslogtreecommitdiff
path: root/lib/igt_stats.h
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2015-06-26 16:57:55 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2015-06-27 16:04:07 +0100
commita2f6fd3725f50919c79694f1e24c1dec2752c875 (patch)
tree85af79b3ffb95a8b257dbbf52eb8451e56eb558d /lib/igt_stats.h
parent087a8d1c63b3d5863a14ff10002fde683b295592 (diff)
stats: Add gtkdoc section for igt_stats
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'lib/igt_stats.h')
-rw-r--r--lib/igt_stats.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/igt_stats.h b/lib/igt_stats.h
index 0d4669ec..c45c8197 100644
--- a/lib/igt_stats.h
+++ b/lib/igt_stats.h
@@ -27,10 +27,17 @@
#include <stdint.h>
+/**
+ * igt_stats_t:
+ * @values: An array containing the pushed values
+ * @n_values: The number of pushed values
+ */
typedef struct {
uint64_t *values;
- unsigned int capacity;
unsigned int n_values;
+
+ /*< private >*/
+ unsigned int capacity;
unsigned int mean_variance_valid : 1;
double mean, variance;
} igt_stats_t;