ec_adaptive_throttle_delta

March 26, 2020 Contributors

Name

ec_adaptive_throttle_delta — adjust the counter for a named throttle

Synopsis

#include "modules/generic/adaptive.h"

| int **ec_adaptive_throttle_delta** ( | name, |   |
|   | is_shared, |   |
|   | amount); |   |

const char * <var class="pdparam">name</var>;
int <var class="pdparam">is_shared</var>;
int <var class="pdparam">amount</var>;

Description

Note

This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

adjust the counter for a named throttle

Adjust the counter in the throttle by delta. Delta may be negative.

Parameters

name

the name of the throttle

indicate

if the throttle is shared or not

amount

the number to adjust by

**Configuration Change. ** This feature is available starting from Momentum 3.3.