Searched refs:at_label (Results 1 – 13 of 13) sorted by relevance
/openbmc/telemetry/src/utils/ |
H A D | conversion_trigger.cpp | 50 labeledThresholdParam.at_label<ts::Type>()), in operator ()() 51 labeledThresholdParam.at_label<ts::DwellTime>(), in operator ()() 53 labeledThresholdParam.at_label<ts::Direction>()), in operator ()() 54 labeledThresholdParam.at_label<ts::ThresholdValue>()); in operator ()() 64 labeledThresholdParam.at_label<ts::UserId>(), in operator ()() 66 labeledThresholdParam.at_label<ts::Severity>()), in operator ()() 67 labeledThresholdParam.at_label<ts::DwellTime>(), in operator ()() 68 labeledThresholdParam.at_label<ts::ThresholdValue>()); in operator ()() 76 sdbusplus::message::object_path(val.at_label<ts::Path>()), in fromLabeledSensorsInfo() 77 val.at_label<ts::Metadata>()); in fromLabeledSensorsInfo() [all …]
|
H A D | labeled_tuple.hpp | 195 const auto& at_label() const in at_label() function 201 auto& at_label() in at_label() function
|
/openbmc/telemetry/src/types/ |
H A D | report_types.cpp | 14 metricParams.at_label<ts::SensorPath>(), in toReadingParameters() 18 sensorParameters.at_label<ts::Path>(), in toReadingParameters() 19 sensorParameters.at_label<ts::Metadata>()); in toReadingParameters() 21 utils::enumToString(metricParams.at_label<ts::OperationType>()), in toReadingParameters() 23 metricParams.at_label<ts::CollectionTimeScope>()), in toReadingParameters() 24 metricParams.at_label<ts::CollectionDuration>().t.count()); in toReadingParameters()
|
H A D | readings.cpp | 21 return Readings{labeledReadings.at_label<ts::Timestamp>(), in toReadings() 22 utils::transform(labeledReadings.at_label<ts::Readings>(), in toReadings()
|
/openbmc/telemetry/src/ |
H A D | report_factory.cpp | 35 getSensors(param.at_label<ts::SensorPath>()), in make() 36 param.at_label<ts::OperationType>(), in make() 37 param.at_label<ts::CollectionTimeScope>(), in make() 38 param.at_label<ts::CollectionDuration>(), in make() 73 getSensors(labeledMetricParam.at_label<ts::SensorPath>()), in updateMetrics() 74 labeledMetricParam.at_label<ts::OperationType>(), in updateMetrics() 75 labeledMetricParam.at_label<ts::CollectionTimeScope>(), in updateMetrics() 76 labeledMetricParam.at_label<ts::CollectionDuration>(), in updateMetrics() 106 sensorPath.at_label<Service>(), sensorPath.at_label<Path>(), in getSensors() 107 sensorPath.at_label<Metadata>(), bus->get_io_context(), bus); in getSensors()
|
H A D | trigger_factory.cpp | 162 const std::string& thresholdName = thresholdParam.at_label<ts::UserId>(); in makeDiscreteThreshold() 163 discrete::Severity severity = thresholdParam.at_label<ts::Severity>(); in makeDiscreteThreshold() 164 auto dwellTime = Milliseconds(thresholdParam.at_label<ts::DwellTime>()); in makeDiscreteThreshold() 166 thresholdParam.at_label<ts::ThresholdValue>(); in makeDiscreteThreshold() 187 auto type = thresholdParam.at_label<ts::Type>(); in makeNumericThreshold() 188 auto dwellTime = Milliseconds(thresholdParam.at_label<ts::DwellTime>()); in makeNumericThreshold() 189 auto direction = thresholdParam.at_label<ts::Direction>(); in makeNumericThreshold() 190 auto thresholdValue = double{thresholdParam.at_label<ts::ThresholdValue>()}; in makeNumericThreshold() 274 const auto& service = labeledSensorInfo.at_label<ts::Service>(); in updateSensors() 275 const auto& sensorPath = labeledSensorInfo.at_label<ts::Path>(); in updateSensors() [all …]
|
H A D | report_manager.cpp | 133 utils::toUnderlying(item.at_label<ts::OperationType>())); in verifyAddReport() 242 metricParam.at_label<utils::tstring::SensorPath>(); in verifyMetricParams()
|
H A D | trigger_manager.cpp | 99 if (discreteParam.at_label<ts::UserId>().length() > in verifyThresholdParams()
|
/openbmc/telemetry/tests/src/ |
H A D | test_trigger.cpp | 372 EXPECT_THAT(tocheck.at_label<utils::tstring::Type>(), in TEST_F() 373 Eq(base.at_label<utils::tstring::Type>())); in TEST_F() 374 EXPECT_THAT(tocheck.at_label<utils::tstring::Direction>(), in TEST_F() 375 Eq(base.at_label<utils::tstring::Direction>())); in TEST_F() 376 EXPECT_THAT(tocheck.at_label<utils::tstring::DwellTime>(), in TEST_F() 377 Eq(base.at_label<utils::tstring::DwellTime>())); in TEST_F() 378 EXPECT_THAT(tocheck.at_label<utils::tstring::ThresholdValue>(), in TEST_F() 379 Eq(base.at_label<utils::tstring::ThresholdValue>())); in TEST_F() 398 EXPECT_THAT(tocheck.at_label<utils::tstring::UserId>(), in TEST_F() 399 Eq(base.at_label<utils::tstring::UserId>())); in TEST_F() [all …]
|
H A D | test_metric.cpp | 169 expected.at_label<ts::OperationType>() = params.operationType(); in TEST_F() 170 expected.at_label<ts::CollectionTimeScope>() = params.collectionTimeScope(); in TEST_F() 171 expected.at_label<ts::CollectionDuration>() = params.collectionDuration(); in TEST_F() 172 expected.at_label<ts::SensorPath>() = { in TEST_F()
|
H A D | test_discrete_threshold.cpp | 115 .at_label<utils::tstring::UserId>(), in TEST_F() 124 .at_label<utils::tstring::UserId>(), in TEST_F()
|
H A D | test_report.cpp | 114 .at_label<tstring::SensorPath>() in getMetricsFromReadingParams() 300 readingParams[0].at_label<utils::tstring::SensorPath>(); in TEST_F()
|
H A D | test_report_manager.cpp | 368 metricParams[0].at_label<utils::tstring::SensorPath>(); in TEST_F()
|