Oma_Ov_Vector_Threshold_Add()
Abstract
Adds a data point to an SLA threshold bucket of an output vector.
Syntax
Oma_Ov_Vector_Threshold_Add (vector_ptr, timeval, threshold_totals, threshold_violations)
| Argument | Type | Description |
|---|---|---|
vector_ptr |
OmaT_Ov_Vector * |
Output vector of interest. |
timeval |
double |
Time stamp for the statistic value. This value must not be negative. |
threshold_totals |
double |
Total number of raw data points in the bucket. |
threshold_violations |
double |
Total number of agreement violations in the bucket. |
Return Type
PrgT_Compcode
PrgC_Compcode_Success if the threshold is successfully added to the vector; PrgC_Compcode_Failure otherwise (for example, if the vector is undefined).
Header
oma_ov.h