Searched refs:metricParams (Results 1 – 7 of 7) sorted by relevance
/openbmc/telemetry/src/types/ |
H A D | report_types.cpp | 11 [](const LabeledMetricParameters& metricParams) { in toReadingParameters() argument 13 utils::transform(metricParams.at_label<ts::SensorPath>(), in toReadingParameters() 19 utils::enumToString(metricParams.at_label<ts::OperationType>()), in toReadingParameters() 21 metricParams.at_label<ts::CollectionTimeScope>()), in toReadingParameters() 22 metricParams.at_label<ts::CollectionDuration>().t.count()); in toReadingParameters()
|
/openbmc/telemetry/src/ |
H A D | report_factory.cpp | 110 const ReadingParameters& metricParams) const in convertMetricParams() 112 if (metricParams.empty()) in convertMetricParams() 118 return getMetricParamsFromSensorTree(metricParams, tree); in convertMetricParams() 122 const ReadingParameters& metricParams) const in convertMetricParams() 124 if (metricParams.empty()) in convertMetricParams() 130 return getMetricParamsFromSensorTree(metricParams, tree); in convertMetricParams() 135 const ReadingParameters& metricParams, in getMetricParamsFromSensorTree() argument 140 return utils::transform(metricParams, [&tree](const auto& item) { in getMetricParamsFromSensorTree()
|
H A D | report_factory.hpp | 22 const ReadingParameters& metricParams) const override; 25 const ReadingParameters& metricParams) const override; 46 const ReadingParameters& metricParams,
|
H A D | report_manager.hpp | 37 const std::vector<LabeledMetricParameters>& metricParams); 56 ReadingParameters metricParams, const bool enabled); 63 std::vector<LabeledMetricParameters> metricParams,
|
H A D | report_manager.cpp | 136 ReadingParameters metricParams, const bool enabled) in addReport() argument 139 metricParams); in addReport() 230 const std::vector<LabeledMetricParameters>& metricParams) in verifyMetricParams() argument 233 for (const auto& metricParam : metricParams) in verifyMetricParams() 240 if (metricParams.size() > ReportManager::maxNumberMetrics || in verifyMetricParams()
|
/openbmc/telemetry/src/interfaces/ |
H A D | report_factory.hpp | 29 const ReadingParameters& metricParams) const = 0; 31 convertMetricParams(const ReadingParameters& metricParams) const = 0;
|
/openbmc/telemetry/tests/src/ |
H A D | test_report_manager.cpp | 365 auto metricParams = reportParams.metricParameters(); in TEST_F() local 367 metricParams[0].at_label<utils::tstring::SensorPath>(); in TEST_F() 375 reportParams.metricParameters(std::move(metricParams)); in TEST_F() 388 auto metricParams = std::vector<LabeledMetricParameters>{}; in TEST_F() 392 metricParams.emplace_back( in TEST_F() 399 reportParams.metricParameters(std::move(metricParams)); in TEST_F()
|