Section: C Library Functions (3)
Return to Main Contents
- duplicate a PMAPI context
cc ... -lpcp
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.
on some host, or a set of archive logs of performance metrics as created by
replicate the current PMAPI context,
returning a handle for the new context that may be used with subsequent
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.