1PMID_HELPER(3) Library Functions Manual PMID_HELPER(3)
2
3
4
6 pmID_build, pmID_domain, pmID_cluster, pmID_item - helper methods for
7 manipulating PMIDs
8
10 #include <pcp/pmapi.h>
11
12 pmID pmID_build(unsigned int domain, unsigned int cluster, unsigned int
13 item);
14 unsigned int pmID_domain(pmID pmid);
15 unsigned int pmID_cluster(pmID pmid);
16 unsigned int pmID_item(pmID pmid);
17
18 cc ... -lpcp
19
21 Within the Performance Co-Pilot (PCP) each metric is assigned a unique
22 Performance Metric Identifier (pmID). Internally a pmID is constructed
23 from 3 fields: the domain number (of the associated Performance Metrics
24 Domain Agent, or PMDA), the cluster number and the item number (the
25 last two are assigned by the PMDA).
26
27 pmID_build constructs a pmID from domain, cluster and item.
28
29 pmID_domain, pmID_cluster and pmID_item return the respective fields
30 from pmid.
31
33 PMAPI(3) and pmIDStr(3).
34
35
36
37Performance Co-Pilot PCP PMID_HELPER(3)