diff options
author | adrian <adrian@FreeBSD.org> | 2013-02-26 10:24:49 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2013-02-26 10:24:49 +0000 |
commit | 40f8a2948b0c4e6acc784c63eeb5a3ac8a7c573b (patch) | |
tree | c3cbf4398c8adf11c3b4d962f26c9f4730fa38b7 /sys/dev/hwpmc/hwpmc_soft.c | |
parent | 1292edf08d47c715c2f18a75f5665443961e7ce6 (diff) | |
download | FreeBSD-src-40f8a2948b0c4e6acc784c63eeb5a3ac8a7c573b.zip FreeBSD-src-40f8a2948b0c4e6acc784c63eeb5a3ac8a7c573b.tar.gz |
Update the EWMA statistics for each intermediary rate as well as the final
rate.
This fixes two things:
* The intermediary rates now also have their EWMA values changed;
* The existing code was using the wrong value for longtries - so the
EWMA stats were only adjusted for the first rate and not subsequent
rates in a MRR setup.
TODO:
* Merge the EWMA updates into update_stats() now..
Diffstat (limited to 'sys/dev/hwpmc/hwpmc_soft.c')
0 files changed, 0 insertions, 0 deletions