logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pmID_build, pmID_domain, pmID_cluster, pmID_item - helper methods for manipulating PMIDs

C Synopsis

#include<pcp/pmapi.h>pmIDpmID_build(unsignedintdomain,unsignedintcluster,unsignedintitem);unsignedintpmID_domain(pmIDpmid);unsignedintpmID_cluster(pmIDpmid);unsignedintpmID_item(pmIDpmid);cc...-lpcp

Description

       Within  the  Performance  Co-Pilot  (PCP)  each metric is assigned a unique Performance Metric Identifier
       (pmID).  Internally a pmID is constructed from 3 fields: the domain number (of the associated Performance
       Metrics Domain Agent, or PMDA), the cluster number and the item number (the last two are assigned by  the
       PMDA).

       pmID_build constructs a pmID from domain, cluster and item.

       pmID_domain, pmID_cluster and pmID_item return the respective fields from pmid.

Name

pmID_build, pmID_domain, pmID_cluster, pmID_item - helper methods for manipulating PMIDs

See Also

PMAPI(3) and pmIDStr(3).

Performance Co-Pilot                                   PCP                                         PMID_BUILD(3)

See Also