Provided by: libpcp3-dev_6.2.0-1.1build4_amd64 bug

NAME

       pmSortInstances,  pmSortHighResInstances  -  sort  performance  metric  values on instance
       identifier

C SYNOPSIS

       #include <pcp/pmapi.h>

       void pmSortInstances(pmResult *result);
       int pmSortHighResInstances(pmHighResResult *result);

       cc ... -lpcp

DESCRIPTION

       The routine pmSortInstances may be used to guarantee that for each performance  metric  in
       the  result  from pmFetch(3) or pmFetchHighRes(3), the instances are in ascending instance
       identifier sequence.

       This is useful when computing rates from two consecutive samples.

SEE ALSO

       PMAPI(3), pmFetch(3) and pmFetchHighRes(3).