Poster of Linux kernelThe best gift for a Linux geek
PMIUNITS

PMIUNITS

Section: C Library Functions (3) Updated:
Local index Up
 

NAME

pmiUnits - construct a pmUnits data structure  

C SYNOPSIS

#include <pcp/pmapi.h>
#include <pcp/impl.h>
#include <pcp/import.h>

pmUnits
pmiUnits(int
dimSpace, int dimTime, int dimCount, int scaleSpace, int scaleTime, int scaleCount)

cc ... -lpcp_import -lpcp  

Perl SYNOPSIS

use PCP::LogImport;

$units = pmiUnits($dimSpace, $dimTime, $dimCount, $scaleSpace, $scaleTime, $scaleCount);  

DESCRIPTION

As part of the Performance Co-Pilot Log Import API (see LOGIMPORT(3)), pmiUnits is a convenience method (especially for Perl use) for constructing a pmUnits structure to be used in a subsequent call to pmiAddMetric(3).

Refer to pmLookupDesc(3) for a complete description of the values and semantics of the components of a pmUnits structure, and hence the valid argument values for pmiUnits.  

DIAGNOSTICS

None.  

SEE ALSO

LOGIMPORT(3), pmiAddMetric(3) and pmLookupDesc(3).


 

Index

NAME
C SYNOPSIS
Perl SYNOPSIS
DESCRIPTION
DIAGNOSTICS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 21:52:38 GMT, April 16, 2011