1PMSORTINSTANCES(3) Library Functions Manual PMSORTINSTANCES(3)
2
3
4
6 pmSortInstances - sort performance metric values on instance identifier
7
9 #include <pcp/pmapi.h>
10
11 void pmSortInstances(pmResult *result);
12
13 cc ... -lpcp
14
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
24 PMAPI(3) and pmFetch(3).
25
27 None.
28
29
30
31Performance Co-Pilot PCP PMSORTINSTANCES(3)