Skip to content

MetricAttribute

Attribute corresponding to a metric.

Synopsis

Declared in <src/midend/astProcessing/AstAttributeMechanism.h>

class MetricAttribute
    : public AstAttribute

Base Classes

Name

Description

AstAttribute

Base class for all IR node attribute values.

Member Functions

Name

Description

MetricAttribute [constructor]

Constructors

attribute_class_name [virtual]

copy [virtual]

getValue [virtual]

isDerived [virtual]

operator*=

Multiplication assignment operator

operator+=

Addition assignment operator

operator‐=

Subtraction assignment operator

operator/=

Division assignment operator

packed_data [virtual]

packed_size [virtual]

setValue [virtual]

toString [virtual]

unpacked_data [virtual]

Protected Data Members

Description

A metric attribute represents a numeric value obtained by either dynamic analysis (gprof or hpct) or static analysis (for example number of flop operations in a function) It MetricAttribute can be a raw (observed), or a propagated (derived) count It containes no name‐string, because the attribute is stored in an AttributeMechanism‐map, where the name is the key.

Created with MrDocs