![]() |
![]()
| ![]() |
![]()
NAMESmokeping::matchers::ExpLoss - exponential weighting matcher for packet loss with RMON-like thresholds DESCRIPTIONMatch against exponential weighted average of last samples, thus new values are more valuable as old ones. Two thresholds - rising and falling - produce hysteresis loop like in RMON alert subsystem. If the average reaches the "rising" threshold, matcher go to the "match" state and hold It until the average drops under the "falling" threshold. Call the matcher with the following sequence: type = matcher pattern = ExpLoss(hist => <hist>, rising=><rising> \ [,falling => <falling>] [,skip=><stat>] [,fast=><fast>]) Arguments:
Note:
COPYRIGHTCopyright (c) 2008 Veniamin Konoplev Developed in cooperation with EU EGEE project LICENSEThis program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. AUTHORVeniamin Konoplev <vkonoplev@acm.org>
|