Home
last modified time | relevance | path

Searched refs:at_label (Results 1 – 13 of 13) sorted by relevance

/openbmc/telemetry/src/utils/
H A Dconversion_trigger.cpp50 labeledThresholdParam.at_label<ts::DwellTime>(), in operator ()()
52 labeledThresholdParam.at_label<ts::Direction>()), in operator ()()
63 labeledThresholdParam.at_label<ts::UserId>(), in operator ()()
65 labeledThresholdParam.at_label<ts::DwellTime>(), in operator ()()
75 val.at_label<ts::Metadata>()); in fromLabeledSensorsInfo()
104 paramUnpacked->at_label<ts::UserId>(), in fromLabeledThresholdParam()
106 paramUnpacked->at_label<ts::DwellTime>(), in fromLabeledThresholdParam()
107 paramUnpacked->at_label<ts::ThresholdValue>()); in fromLabeledThresholdParam()
123 paramUnpacked->at_label<ts::DwellTime>(), in fromLabeledThresholdParam()
125 paramUnpacked->at_label<ts::Direction>()), in fromLabeledThresholdParam()
[all …]
H A Dlabeled_tuple.hpp195 const auto& at_label() const in at_label() function
201 auto& at_label() in at_label() function
/openbmc/telemetry/src/types/
H A Dreport_types.cpp13 utils::transform(metricParams.at_label<ts::SensorPath>(), in toReadingParameters()
16 sensorParameters.at_label<ts::Path>(), in toReadingParameters()
17 sensorParameters.at_label<ts::Metadata>()); 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()
H A Dreadings.cpp21 return Readings{labeledReadings.at_label<ts::Timestamp>(), in toReadings()
22 utils::transform(labeledReadings.at_label<ts::Readings>(), in toReadings()
/openbmc/telemetry/src/
H A Dreport_factory.cpp34 getSensors(param.at_label<ts::SensorPath>()), in make()
35 param.at_label<ts::OperationType>(), in make()
36 param.at_label<ts::CollectionTimeScope>(), in make()
37 param.at_label<ts::CollectionDuration>(), in make()
71 getSensors(labeledMetricParam.at_label<ts::SensorPath>()), in updateMetrics()
72 labeledMetricParam.at_label<ts::OperationType>(), in updateMetrics()
73 labeledMetricParam.at_label<ts::CollectionTimeScope>(), in updateMetrics()
74 labeledMetricParam.at_label<ts::CollectionDuration>(), in updateMetrics()
103 sensorPath.at_label<Service>(), sensorPath.at_label<Path>(), in getSensors()
104 sensorPath.at_label<Metadata>(), bus->get_io_context(), bus); in getSensors()
H A Dtrigger_factory.cpp162 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()
273 const auto& service = labeledSensorInfo.at_label<ts::Service>(); in updateSensors()
274 const auto& sensorPath = labeledSensorInfo.at_label<ts::Path>(); in updateSensors()
[all …]
H A Dreport_manager.cpp127 utils::toUnderlying(item.at_label<ts::OperationType>())); in verifyAddReport()
236 metricParam.at_label<utils::tstring::SensorPath>(); in verifyMetricParams()
H A Dtrigger_manager.cpp84 if (discreteParam.at_label<ts::UserId>().length() > in verifyThresholdParams()
/openbmc/telemetry/tests/src/
H A Dtest_trigger.cpp369 EXPECT_THAT(tocheck.at_label<utils::tstring::Type>(), in TEST_F()
370 Eq(base.at_label<utils::tstring::Type>())); in TEST_F()
371 EXPECT_THAT(tocheck.at_label<utils::tstring::Direction>(), in TEST_F()
372 Eq(base.at_label<utils::tstring::Direction>())); in TEST_F()
373 EXPECT_THAT(tocheck.at_label<utils::tstring::DwellTime>(), in TEST_F()
374 Eq(base.at_label<utils::tstring::DwellTime>())); in TEST_F()
395 EXPECT_THAT(tocheck.at_label<utils::tstring::UserId>(), in TEST_F()
396 Eq(base.at_label<utils::tstring::UserId>())); in TEST_F()
397 EXPECT_THAT(tocheck.at_label<utils::tstring::Severity>(), in TEST_F()
398 Eq(base.at_label<utils::tstring::Severity>())); in TEST_F()
[all …]
H A Dtest_metric.cpp169 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 Dtest_discrete_threshold.cpp115 .at_label<utils::tstring::UserId>(), in TEST_F()
124 .at_label<utils::tstring::UserId>(), in TEST_F()
H A Dtest_report_manager.cpp368 metricParams[0].at_label<utils::tstring::SensorPath>(); in TEST_F()
H A Dtest_report.cpp114 .at_label<tstring::SensorPath>() in getMetricsFromReadingParams()
302 readingParams[0].at_label<utils::tstring::SensorPath>(); in TEST_F()