Home
last modified time | relevance | path

Searched full:operationtype (Results 1 – 25 of 30) sorted by relevance

12

/openbmc/telemetry/src/types/
H A Doperation_type.hpp9 enum class OperationType : uint32_t enum
21 struct EnumTraits<OperationType>
23 static constexpr auto propertyName = ConstexprString{"OperationType"};
26 constexpr std::array<std::pair<std::string_view, OperationType>, 4>
28 {std::make_pair<std::string_view, OperationType>(
29 "xyz.openbmc_project.Telemetry.Report.OperationType.Maximum",
30 OperationType::max),
31 std::make_pair<std::string_view, OperationType>(
32 "xyz.openbmc_project.Telemetry.Report.OperationType.Minimum",
33 OperationType::min),
[all …]
H A Dreport_types.hpp24 std::tuple<std::vector<LabeledSensorInfo>, OperationType,
26 utils::tstring::SensorPath, utils::tstring::OperationType,
H A Dreport_types.cpp21 utils::enumToString(metricParams.at_label<ts::OperationType>()), in toReadingParameters()
/openbmc/bmcweb/redfish-core/include/generated/enums/
H A Dvolume.hpp128 enum class OperationType{ enum
272 NLOHMANN_JSON_SERIALIZE_ENUM(OperationType, {
273 {OperationType::Invalid, "Invalid"},
274 {OperationType::Deduplicate, "Deduplicate"},
275 {OperationType::CheckConsistency, "CheckConsistency"},
276 {OperationType::Initialize, "Initialize"},
277 {OperationType::Replicate, "Replicate"},
278 {OperationType::Delete, "Delete"},
279 {OperationType::ChangeRAIDType, "ChangeRAIDType"},
280 {OperationType::Rebuild, "Rebuild"},
[all …]
/openbmc/telemetry/tests/src/
H A Dtest_metric.cpp48 p.operationType(), p.collectionTimeScope(), p.collectionDuration(), in makeSut()
53 .operationType(OperationType::avg)
111 .operationType(OperationType::max)); in TEST_F()
169 expected.at_label<ts::OperationType>() = params.operationType(); in TEST_F()
212 sut = makeSut(params.operationType(GetParam().operationType()) in SetUp()
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()
[all …]
H A Dtest_report_manager.cpp115 UnorderedElementsAre(utils::enumToString(OperationType::max), in TEST_F()
116 utils::enumToString(OperationType::min), in TEST_F()
117 utils::enumToString(OperationType::avg), in TEST_F()
118 utils::enumToString(OperationType::sum))); in TEST_F()
362 OperationType::avg, in TEST_F()
395 OperationType::avg, in TEST_F()
503 public WithParamInterface<OperationType>
506 OperationType operationType = GetParam(); member in TestReportManagerWithAggregationOperationType
510 Values(OperationType::max, OperationType::min,
511 OperationType::avg, OperationType::sum));
[all …]
H A Dtest_report.cpp275 OperationType::avg, in TEST_F()
295 OperationType::avg, in TEST_F()
656 {tstring::OperationType::str(), OperationType::avg},
665 {tstring::OperationType::str(), OperationType::avg},
/openbmc/telemetry/src/
H A Dreport_factory.cpp36 param.at_label<ts::OperationType>(), in make()
74 labeledMetricParam.at_label<ts::OperationType>(), in updateMetrics()
144 auto [sensorPaths, operationType, collectionTimeScope, in getMetricParamsFromSensorTree()
170 if (operationType.empty()) in getMetricParamsFromSensorTree()
172 operationType = utils::enumToString(OperationType::avg); in getMetricParamsFromSensorTree()
174 else if (operationType == "SINGLE") in getMetricParamsFromSensorTree()
176 operationType = utils::enumToString(OperationType::avg); in getMetricParamsFromSensorTree()
189 utils::toOperationType(operationType), in getMetricParamsFromSensorTree()
H A Dmetric.cpp13 Metric::Metric(Sensors sensorsIn, OperationType operationTypeIn, in Metric()
17 sensors(std::move(sensorsIn)), operationType(operationTypeIn), in Metric()
20 metrics::makeCollectionData(sensors.size(), operationType, in Metric()
124 return LabeledMetricParameters(std::move(sensorPath), operationType, in dumpConfiguration()
159 (operationType == OperationType::min || in isTimerRequired()
160 operationType == OperationType::max)) in isTimerRequired()
H A Dmetric.hpp17 Metric(Sensors sensors, OperationType operationType, CollectionTimeScope,
38 OperationType operationType; member in Metric
H A Dreport_manager.cpp133 utils::toUnderlying(item.at_label<ts::OperationType>())); in verifyAddReport()
/openbmc/telemetry/tests/src/params/
H A Dmetric_params.hpp16 MetricParams& operationType(OperationType val) in operationType() function in MetricParams
22 const OperationType& operationType() const in operationType() function in MetricParams
83 OperationType operationTypeProperty = {};
96 os << "{ op: " << enumToString(mp.operationType()) in operator <<()
H A Dreport_params.hpp156 OperationType::avg,
163 OperationType::avg,
/openbmc/telemetry/src/metrics/
H A Dcollection_function.cpp155 OperationType operationType) in makeCollectionFunction() argument
159 switch (operationType) in makeCollectionFunction()
161 case OperationType::min: in makeCollectionFunction()
163 case OperationType::max: in makeCollectionFunction()
165 case OperationType::avg: in makeCollectionFunction()
167 case OperationType::sum: in makeCollectionFunction()
171 "op: "s + utils::enumToString(operationType) + in makeCollectionFunction()
H A Dcollection_function.hpp27 std::shared_ptr<CollectionFunction> makeCollectionFunction(OperationType);
H A Dcollection_data.hpp29 size_t size, OperationType, CollectionTimeScope, CollectionDuration);
H A Dcollection_data.cpp126 size_t size, OperationType op, CollectionTimeScope timeScope, in makeCollectionData()
/openbmc/bmcweb/redfish-core/include/utils/
H A Dtelemetry_utils.hpp126 "xyz.openbmc_project.Telemetry.Report.OperationType.Maximum") in toRedfishCollectionFunction()
131 "xyz.openbmc_project.Telemetry.Report.OperationType.Minimum") in toRedfishCollectionFunction()
136 "xyz.openbmc_project.Telemetry.Report.OperationType.Average") in toRedfishCollectionFunction()
141 "xyz.openbmc_project.Telemetry.Report.OperationType.Summation") in toRedfishCollectionFunction()
152 return "xyz.openbmc_project.Telemetry.Report.OperationType.Maximum"; in toDbusCollectionFunction()
156 return "xyz.openbmc_project.Telemetry.Report.OperationType.Minimum"; in toDbusCollectionFunction()
160 return "xyz.openbmc_project.Telemetry.Report.OperationType.Average"; in toDbusCollectionFunction()
164 return "xyz.openbmc_project.Telemetry.Report.OperationType.Summation"; in toDbusCollectionFunction()
/openbmc/telemetry/src/utils/
H A Dtstring.hpp35 struct OperationType struct
39 return "operationType"; in str()
/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/bios-bmc-smm-error-logger/include/rde/
H A Drde_handler.hpp89 uint8_t operationType; member
/openbmc/bios-bmc-smm-error-logger/src/rde/
H A Drde_handler.cpp86 if (header->operationType != in operationInitRequest()
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/
H A DDrive.v1_21_0.json1104 … "$ref": "http://redfish.dmtf.org/schemas/swordfish/v1/Volume.json#/definitions/OperationType"
1116 …roperty is deprecated in favor of the `Operation` property using the `OperationType` enumeration d…
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/
H A DDrive.v1_21_0.json1104 … "$ref": "http://redfish.dmtf.org/schemas/swordfish/v1/Volume.json#/definitions/OperationType"
1116 …roperty is deprecated in favor of the `Operation` property using the `OperationType` enumeration d…

12