This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]