summaryrefslogtreecommitdiffstats
path: root/sys/dev/hwpmc/hwpmc_soft.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2013-02-26 10:24:49 +0000
committeradrian <adrian@FreeBSD.org>2013-02-26 10:24:49 +0000
commit40f8a2948b0c4e6acc784c63eeb5a3ac8a7c573b (patch)
treec3cbf4398c8adf11c3b4d962f26c9f4730fa38b7 /sys/dev/hwpmc/hwpmc_soft.c
parent1292edf08d47c715c2f18a75f5665443961e7ce6 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud