pmsortinstances(3)

pmsortinstances3

Sort performance metric values on instance identifier

Part of pmSortInstances(3).

C synopsis

#include <pcp/pmapi.h>

void pmSortInstances(pmResult *result);

cc ... -lpcp

Overview

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

This is most useful when trying to compute rates from two consecutive pmFetch(3) results.

Diagnostics

None.

From libpcp3-dev 4.3.2+really4.3.1-0.1 in Debian 10 (Buster). Parsed by carta from the page's man source.