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

NAME

6       pmSortInstances - sort performance metric values on instance identifier
7

C SYNOPSIS

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

DESCRIPTION

16       The routine pmSortInstances may be used to guarantee that for each per‐
17       formance metric in the result from pmFetch(3),  the  instances  are  in
18       ascending instance identifier sequence.
19
20       This  is  most useful when trying to compute rates from two consecutive
21       pmFetch(3) results.
22

SEE ALSO

24       PMAPI(3) and pmFetch(3).
25

DIAGNOSTICS

27       None.
28
29
30
31Performance Co-Pilot                  PCP                   PMSORTINSTANCES(3)
Impressum