All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 1/4] stats: Add wikipedia links to get_trimean() and get_iqm()
@ 2015-07-01 23:21 Damien Lespiau
  2015-07-01 23:21 ` [PATCH i-g-t 2/4] aux: Don't evaluate several times the arguments of min() and max() Damien Lespiau
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Damien Lespiau @ 2015-07-01 23:21 UTC (permalink / raw)
  To: intel-gfx

Useful knowledge for anyone looking at the documentation and following
the linkes.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
---
 lib/igt_stats.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/lib/igt_stats.c b/lib/igt_stats.c
index b7053c3..70650ec 100644
--- a/lib/igt_stats.c
+++ b/lib/igt_stats.c
@@ -496,11 +496,15 @@ double igt_stats_get_std_deviation(igt_stats_t *stats)
  * igt_stats_get_iqm:
  * @stats: An #igt_stats_t instance
  *
- * Retrieves the interquartile mean of the @stats dataset.
+ * Retrieves the
+ * [interquartile mean](https://en.wikipedia.org/wiki/Interquartile_mean) (IQM)
+ * of the @stats dataset.
  *
  * The interquartile mean is a "statistical measure of central tendency".
  * It is a truncated mean that discards the lowest and highest 25% of values,
  * and calculates the mean value of the remaining central values.
+ *
+ * It's useful to hide outliers in measurements (due to cold cache etc).
  */
 double igt_stats_get_iqm(igt_stats_t *stats)
 {
@@ -533,7 +537,8 @@ double igt_stats_get_iqm(igt_stats_t *stats)
  * igt_stats_get_trimean:
  * @stats: An #igt_stats_t instance
  *
- * Retrieves the trimean of the @stats dataset.
+ * Retrieves the [trimean](https://en.wikipedia.org/wiki/Trimean) of the @stats
+ * dataset.
  *
  * The trimean is a the most efficient 3-point L-estimator, even more
  * robust than the median at estimating the average of a sample population.
-- 
2.1.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-07-02  9:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-01 23:21 [PATCH i-g-t 1/4] stats: Add wikipedia links to get_trimean() and get_iqm() Damien Lespiau
2015-07-01 23:21 ` [PATCH i-g-t 2/4] aux: Don't evaluate several times the arguments of min() and max() Damien Lespiau
2015-07-01 23:21 ` [PATCH i-g-t 3/4] build: Add DEBUG_FLAGS to tools and self-tests Damien Lespiau
2015-07-01 23:21 ` [PATCH i-g-t 4/4] build: Add an option to not use the git hash in version Damien Lespiau
2015-07-02  8:31   ` Ville Syrjälä
2015-07-02  8:42     ` Chris Wilson
2015-07-02  9:33   ` Thomas Wood

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.