Oma_Ov_Vector_Threshold_Add()
摘要
向输出向量的 SLA 阈值分桶添加一个数据点。
语法
Oma_Ov_Vector_Threshold_Add (vector_ptr, timeval, threshold_totals, threshold_violations)
| 参数 | 类型 | 说明 |
|---|---|---|
vector_ptr |
OmaT_Ov_Vector * |
目标输出向量。 |
timeval |
double |
统计量值的时间戳。该值不得为负数。 |
threshold_totals |
double |
分桶中原始数据点的总数。 |
threshold_violations |
double |
分桶中违规(agreement violation)的总数。 |
返回类型
PrgT_Compcode
若阈值成功添加到向量则返回 PrgC_Compcode_Success;否则返回 PrgC_Compcode_Failure(例如向量未定义时)。
头文件
oma_ov.h