logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

pmSortInstances, pmSortHighResInstances - sort performance metric values on instance identifier

C Synopsis

#include<pcp/pmapi.h>voidpmSortInstances(pmResult*result);intpmSortHighResInstances(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.

Name

pmSortInstances, pmSortHighResInstances - sort performance metric values on instance identifier

See Also

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

Performance Co-Pilot                                   PCP                                    PMSORTINSTANCES(3)

See Also