[Bug runtime/11308] aggregate operations for @variance, @skew, @kurtosis

mcermak at redhat dot com sourceware-bugzilla@sourceware.org
Mon Aug 1 14:38:00 GMT 2016


https://sourceware.org/bugzilla/show_bug.cgi?id=11308

--- Comment #6 from Martin Cermak <mcermak at redhat dot com> ---
Created attachment 9413
  --> https://sourceware.org/bugzilla/attachment.cgi?id=9413&action=edit
updated working version of a patch

Introduced the "shift" parameter (and fixed some errors).  Now the resulting
values correspond to those of python's statistics.variance() for all my tests
(more than one CPU core is effectively involved). Wheee!

Small shifts like 1, 2, or 3 significantly help.  Higher shifts bring slightly
more precision, but increase the risk of overflow.

Now the "shift" could either be updated on the fly, or it could be passed to
stap as a -DPARAM.  Given that small shifts help so nicely, ITSM the latter
might be a good trade-off, but not sure.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Systemtap mailing list