Struct MetricOption
Defined in File metrics/types.h
Nested Relationships
Nested Types
Struct Documentation
-
struct MetricOption
Structure that contains information about an option for a prototype metric or instance of one.
Public Types
-
enum class Type
Types of prototype or instantiated metric options.
Values:
-
enumerator kDisaggregation
Option type used for enabling disaggregation.
-
enumerator kLatency
Option type used for enabling latency.
-
enumerator kNormalizationAverage
Option type used for enabling average normalization (raw metric / instance count).
-
enumerator kNormalizationRate
Option type used for enabling rate normalization (raw metric / timestamp). Changes metric units to per second. Mutually exclusive with utilization normalization option.
-
enumerator kNormalizationUtilization
Option type used for enabling utilization normalization (raw metric * 100% / cycles / instance count). Changes metric units to percent. Mutually exclusive with rate normalization option.
-
enumerator kCount
Number of possible option types.
-
enumerator kInvalid
Invalid option type.
-
enumerator kDisaggregation
Public Members
-
char symbolicName[StringLength::kSymbolicNameLength]
-
uint32_t valueCount
Number of initialized elements in pValueArray.
-
struct Value
Public Types
Public Members
-
uint32_t min
-
uint32_t max
-
struct gpa::metrics::MetricOption::Value::[anonymous]::[anonymous] rangeUint32
-
uint64_t min
-
uint64_t max
-
struct gpa::metrics::MetricOption::Value::[anonymous]::[anonymous] rangeUint64
-
uint32_t uint32
-
uint64_t uint64
-
union gpa::metrics::MetricOption::Value::[anonymous] data
The actual Value data.
-
uint32_t min
-
enum class Type