Home
last modified time | relevance | path

Searched refs:OperationType (Results 1 – 20 of 20) sorted by relevance

/openbmc/telemetry/src/types/
H A Doperation_type.hpp9 enum class OperationType : uint32_t enum
21 struct EnumTraits<OperationType>
28 {std::make_pair<std::string_view, OperationType>(
30 OperationType::max),
31 std::make_pair<std::string_view, OperationType>(
33 OperationType::min),
34 std::make_pair<std::string_view, OperationType>(
36 OperationType::avg),
39 OperationType::sum)}};
41 inline OperationType
[all …]
H A Dreport_types.hpp24 std::tuple<std::vector<LabeledSensorInfo>, OperationType,
26 utils::tstring::SensorPath, utils::tstring::OperationType,
H A Dreport_types.cpp19 utils::enumToString(metricParams.at_label<ts::OperationType>()), in toReadingParameters()
/openbmc/bmcweb/redfish-core/include/generated/enums/
H A Dvolume.hpp126 enum class OperationType{ enum
271 {OperationType::Invalid, "Invalid"},
275 {OperationType::Replicate, "Replicate"},
276 {OperationType::Delete, "Delete"},
278 {OperationType::Rebuild, "Rebuild"},
279 {OperationType::Encrypt, "Encrypt"},
280 {OperationType::Decrypt, "Decrypt"},
281 {OperationType::Resize, "Resize"},
282 {OperationType::Compress, "Compress"},
283 {OperationType::Sanitize, "Sanitize"},
[all …]
/openbmc/telemetry/tests/src/
H A Dtest_metric.cpp53 .operationType(OperationType::avg)
111 .operationType(OperationType::max)); in TEST_F()
169 expected.at_label<ts::OperationType>() = params.operationType(); in TEST_F()
244 Values(defaultPointParams().operationType(OperationType::min),
245 defaultPointParams().operationType(OperationType::max),
246 defaultPointParams().operationType(OperationType::sum),
247 defaultPointParams().operationType(OperationType::avg)));
251 return defaultCollectionFunctionParams().operationType(OperationType::min); in defaultMinParams()
271 return defaultCollectionFunctionParams().operationType(OperationType::max); in defaultMaxParams()
295 return defaultCollectionFunctionParams().operationType(OperationType::sum); in defaultSumParams()
[all …]
H A Dtest_report_manager.cpp114 UnorderedElementsAre(utils::enumToString(OperationType::max), in TEST_F()
115 utils::enumToString(OperationType::min), in TEST_F()
116 utils::enumToString(OperationType::avg), in TEST_F()
117 utils::enumToString(OperationType::sum))); in TEST_F()
361 OperationType::avg, in TEST_F()
394 OperationType::avg, in TEST_F()
502 public WithParamInterface<OperationType>
505 OperationType operationType = GetParam();
509 Values(OperationType::max, OperationType::min,
510 OperationType::avg, OperationType::sum));
H A Dtest_report.cpp277 OperationType::avg, in TEST_F()
297 OperationType::avg, in TEST_F()
658 {tstring::OperationType::str(), OperationType::avg},
667 {tstring::OperationType::str(), OperationType::avg},
/openbmc/telemetry/src/metrics/
H A Dcollection_function.cpp147 makeCollectionFunction(OperationType operationType) in makeCollectionFunction()
153 case OperationType::min: in makeCollectionFunction()
155 case OperationType::max: in makeCollectionFunction()
157 case OperationType::avg: in makeCollectionFunction()
159 case OperationType::sum: in makeCollectionFunction()
H A Dcollection_function.hpp28 std::shared_ptr<CollectionFunction> makeCollectionFunction(OperationType);
H A Dcollection_data.hpp29 makeCollectionData(size_t size, OperationType, CollectionTimeScope,
H A Dcollection_data.cpp126 makeCollectionData(size_t size, OperationType op, in makeCollectionData()
/openbmc/telemetry/tests/src/params/
H A Dmetric_params.hpp16 MetricParams& operationType(OperationType val) in operationType()
22 const OperationType& operationType() const in operationType()
83 OperationType operationTypeProperty = {};
H A Dreport_params.hpp156 OperationType::avg,
163 OperationType::avg,
/openbmc/telemetry/src/
H A Dmetric.hpp17 Metric(Sensors sensors, OperationType operationType, CollectionTimeScope,
38 OperationType operationType;
H A Dreport_factory.cpp35 param.at_label<ts::OperationType>(), in make()
72 labeledMetricParam.at_label<ts::OperationType>(), in updateMetrics()
169 operationType = utils::enumToString(OperationType::avg); in getMetricParamsFromSensorTree()
173 operationType = utils::enumToString(OperationType::avg); in getMetricParamsFromSensorTree()
H A Dmetric.cpp13 Metric::Metric(Sensors sensorsIn, OperationType operationTypeIn, in Metric()
159 (operationType == OperationType::min || in isTimerRequired()
160 operationType == OperationType::max)) in isTimerRequired()
H A Dreport_manager.cpp127 utils::toUnderlying(item.at_label<ts::OperationType>())); in verifyAddReport()
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Telemetry/
H A DReportManager.interface.yaml49 …struct[object_path,string]],enum[xyz.openbmc_project.Telemetry.Report.OperationType],string,enum[x…
83 type: array[enum[xyz.openbmc_project.Telemetry.Report.OperationType]]
H A DReport.interface.yaml35 …type: array[struct[array[struct[object_path,string]],enum[self.OperationType],string,enum[self.Col…
100 - name: OperationType
/openbmc/telemetry/src/utils/
H A Dtstring.hpp35 struct OperationType struct