QMCMETRIC - Online Linux Manual PageSection : 3
Updated : SGI
Source : Performance Co-Pilot

NAMEQmcMetric − container for a metric and all its values

C++ SYNOPSIS#include <pcp/pmc/Metric.h> CC ... −lpcp_pmc −lpcp

DESCRIPTIONA QmcMetric object is a container for a single metric and all its values. The QmcMetricValue structure is used to hold the instance index, values and errors of each instance. In the case of a singular metric, a single QmcMetricValue object is used. A QmcMetric object consists of a list of QmcMetricValue objects, indexes to the descriptors in the metric's QmcGroup and QmcContext and flags to indicate if the instances are explicit or implicit, and if only active metrics are required after QmcMetric::updateIndom is called.

CONSTRUCTORSMetrics should be constructed through the QmcGroup::addMetric methods as this will ensure that the references to the metric's context, descriptor and instance domain are correctly initialized.

INSTANCESFor metrics with an instance domain it is possible to add and remove any instance, and also update the instance list to reflect changes in a dynamic instance domain. bool updateIndom();"  Update the metric to include new instances. This method will first call QmcContext::update to update the instance domain. If the active flag is set in the QmcGroup::addMetric call, only instances will exported by the metric, otherwise the metric will export all instances listed in the domain. The ordering of instances may change as a result of this call. Instances that already existed will keep their current and previous values and errors, even if they are in a different order. int addInst(QString const& name);"  Add the instance name to the metric. If the instance does not exist in the instance domain, a PMAPI(3) error will be returned. This method ignores the value of the active flag set in the QmcMetric constructor. void removeInst(uint_t index);"  Remove the instance at position index from the metric.

SEE ALSOPMAPI(3), QMC(3), QMC_Context(3), QMC_Group(3), pmflush(3) and pmprintf(3).

DIAGNOSTICSError messages are generated using pmprintf(3) but are not flushed. It is the responsibility of the user to call pmflush(3) to output any messages. Additional diagnostics may be activated by adding the option pmc to the global debugging specification, as described in pmSetDebug(3).
0
Johanes Gumabo
Data Size   :   7,238 byte
man-QmcMetric.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   7 / 171,330
Visitor ID   :     :  
Visitor IP   :   18.191.14.104   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.