This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/11308] aggregate operations for @variance, @skew, @kurtosis
- From: "mcermak at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Mon, 01 Aug 2016 14:37:50 +0000
- Subject: [Bug runtime/11308] aggregate operations for @variance, @skew, @kurtosis
- Auto-submitted: auto-generated
- References: <bug-11308-6586@http.sourceware.org/bugzilla/>
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.