1PMSORTINSTANCES(3)         Library Functions Manual         PMSORTINSTANCES(3)
2
3
4

NAME

6       pmSortInstances,  pmSortHighResInstances - sort performance metric val‐
7       ues on instance identifier
8

C SYNOPSIS

10       #include <pcp/pmapi.h>
11
12       void pmSortInstances(pmResult *result);
13       int pmSortHighResInstances(pmHighResResult *result);
14
15       cc ... -lpcp
16

DESCRIPTION

18       The routine pmSortInstances may be used to guarantee that for each per‐
19       formance metric in the result from pmFetch(3) or pmFetchHighRes(3), the
20       instances are in ascending instance identifier sequence.
21
22       This is useful when computing rates from two consecutive samples.
23

SEE ALSO

25       PMAPI(3), pmFetch(3) and pmFetchHighRes(3).
26
27
28
29Performance Co-Pilot                  PCP                   PMSORTINSTANCES(3)
Impressum