git: kcollect - Add a smoothing option (-s)

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Jul 29 18:12:07 PDT 2017


commit b038db3d311da0f11cabe276a16add5f95bf20cf
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Jul 29 18:10:48 2017 -0700

    kcollect - Add a smoothing option (-s)
    
    * Add an option (-s) which smooths the plot.  The smoothing algorithm uses
      an exponential average with fast collapse to the high-side so spikes do
      not get lost.

Summary of changes:
 usr.bin/kcollect/gnuplot.c  | 38 ++++++++++++++++++++++++++++++++++++--
 usr.bin/kcollect/kcollect.8 |  5 +++++
 usr.bin/kcollect/kcollect.c |  6 +++++-
 usr.bin/kcollect/kcollect.h |  1 +
 4 files changed, 47 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b038db3d311da0f11cabe276a16add5f95bf20cf


-- 
DragonFly BSD source repository



More information about the Commits mailing list