pmSortHighResInstances(3)

pmSortHighResInstances3

Sort performance metric values on instance identifier

Part of pmSortInstances(3).

C synopsis

#include <pcp/pmapi.h>

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

cc ... -lpcp

Overview

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.

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

From libpcp3-dev 6.3.8-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.