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 as‐
18       cending 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
26
27
28Performance Co-Pilot                  PCP                   PMSORTINSTANCES(3)
Impressum