Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

pmDupContext - duplicate a PMAPI context

C Synopsis

#include<pcp/pmapi.h>intpmDupContext(void);cc...-lpcp

Description

       An  application  using  the  Performance Metrics Application Programming Interface (PMAPI) may manipulate
       several concurrent contexts, each associated with a source of performance metrics, e.g. pmcd(1)  on  some
       host, or a set of archives of performance metrics as created by pmlogger(1).

       Calling  pmDupContext  will  replicate  the current PMAPI context, returning a handle for the new context
       that may be used with subsequent calls to pmUseContext(3).

       Once created, the duplicated context and the original context have independent existence,  and  so  their
       instance profiles and collection time (relevant only for archive contexts) may be independently varied.

       The newly replicated context becomes the current context.

Name

pmDupContext - duplicate a PMAPI context

See Also

PMAPI(3), pmNewContext(3) and pmUseContext(3).

Performance Co-Pilot                                   PCP                                       PMDUPCONTEXT(3)

See Also