Class MetricsQueryResult
Defined in File metrics-query-result.h
Inheritance Relationships
Derived Type
public gpa::data_collection::MetricsQueryResultCompatible
(Class MetricsQueryResultCompatible)
Class Documentation
-
class MetricsQueryResult
Subclassed by gpa::data_collection::MetricsQueryResultCompatible
Public Types
-
typedef std::shared_ptr<MetricsQueryResult> Ptr
Public Functions
-
MetricsQueryResult(uint64_t metricCountForMetricGroup, uint64_t startingGlobalMetricIndexForMetricGroup, uint64_t const startingCompositeMetricIndexForMetricsSource, uint64_t const rangeCount)
-
MetricsQueryResult(MetricsQueryResult &&other)
-
virtual ~MetricsQueryResult()
-
uint32_t const *QueryReports(metrics::QueryReport const *const **ppQueryReportPointerArray) const
-
uint64_t GetRangeCount()
-
metrics::MetricValue const *RangeResults(uint64_t metricIndex, bool isCompositeMetricIndex = true) const
Protected Functions
-
MetricsQueryResult() = delete
-
MetricsQueryResult(MetricsQueryResult const&) = delete
-
MetricsQueryResult &operator=(MetricsQueryResult const&) = delete
Protected Attributes
-
uint64_t mMetricCount
Number of metrics in MetricGroup used during creation. Non-zero when fully initialized.
-
uint64_t mStartingGlobalMetricIndex
Global metric index in associated MetricGroup's MetricsSource, of the first metric in the MetricGroup.
-
uint64_t mStartingCompositeMetricIndexForMetricsSource
Composite metric index in associated MetricGroup's MetricsSource, of the first metric in the 1st MetricGroup.
-
uint64_t mRangeCount
Number of callable collection ranges ("queries") associated with this instance. Non-zero when there is an associated MetricGroup and fully initialized.
-
metrics::MetricValue *mpMetricValueResultsArray
Pointer to an array of mMetricCount * mRangeCount MetricValue/doubles to hold query results. Non-zero when fully initialized.
-
metrics::QueryReport **mpQueryReportPointerArray
Pointer to an array of mRangeCount QueryReport structs of which mQueryReportPointersUsedCount are valid. Non-zero when fully initialized.
-
uint32_t mQueryReportPointersUsedCount
Number of valid QueryReport struct in mpQueryReportPointerArray with range [0, mRangeCount]. Valid when fully initialized.
Friends
- friend class MetricsQueryResultCompatible
-
typedef std::shared_ptr<MetricsQueryResult> Ptr