Oma_Ov_Reader_Vector_Get()
Abstract
Retrieves a statistic vector from the output vector file.
Syntax
Oma_Ov_Reader_Vector_Get (ov_reader_ptr, report_name, obj_path, group_and_stat_name)
| Argument | Type | Description |
|---|---|---|
ov_reader_ptr |
OmaT_Ov_Reader * |
OV file of interest. |
report_name |
const char * |
Name of the report in which the statistic appears, or PRGC_NIL if the statistic is not part of a report. |
obj_path |
const char * |
Full hierarchical name of the object for which the statistic is collected (for example, “Logical Network.boston.router”), or PRGC_NIL for global statistics. |
group_and_stat_name |
const char * |
Full name of the desired statistic. For example, if the statistic of interest is the “Load (bits/sec)” statistic in the “Ethernet” group, group_and_stat_name should be “Ethernet.Load (bits/sec)”. |
Return Type
OmaT_Ov_Vector *
The requested vector, or PRGC_NIL if no match is found.
Header
oma_ov.h
Details
An output vector file can contain many vectors. This function returns a particular vector based on the search criteria. A vector must match all of the arguments to be selected.