NAME | C SYNOPSIS | DESCRIPTION | SEE ALSO | COLOPHON

PMINDOM_HELPER(3)         Library Functions Manual         PMINDOM_HELPER(3)

NAME         top

       pmInDom_build,  pmInDom_domain,  pmInDom_serial  - helper methods for
       manipulating instance domain identifiers

C SYNOPSIS         top

       #include <pcp/pmapi.h>

       pmInDom pmInDom_build(unsigned int domain, unsigned int serial);
       unsigned int pmInDom_domain(pmInDom indom);
       unsigned int pmInDom_serial(pmInDom indom);

       cc ... -lpcp

DESCRIPTION         top

       Within the Performance Co-Pilot (PCP) each instance domain is
       assigned a unique Instance Domain Identifier (pmInDom).  Internally a
       pmInDom is constructed from 2 fields: the domain number (of the
       associated Performance Metrics Domain Agent, or PMDA) and the serial
       number (assigned by the PMDA).

       pmInDom_build constructs a pmInDom from domain and serial.

       pmInDom_domain and pmInDom_serial return the respective fields from
       indom.

SEE ALSO         top

       PMAPI(3) and pmInDomStr(3).

COLOPHON         top

       This page is part of the PCP (Performance Co-Pilot) project.
       Information about the project can be found at ⟨http://www.pcp.io/⟩.
       If you have a bug report for this manual page, send it to
       pcp@groups.io.  This page was obtained from the project's upstream
       Git repository ⟨https://github.com/performancecopilot/pcp.git⟩ on
       2019-07-28.  (At that time, the date of the most recent commit that
       was found in the repository was 2019-07-26.)  If you discover any
       rendering problems in this HTML version of the page, or you believe
       there is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to
       man-pages@man7.org

Performance Co-Pilot                 PCP                   PMINDOM_HELPER(3)