/openbmc/telemetry/src/types/ |
H A D | operation_type.hpp | 9 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 D | report_types.hpp | 24 std::tuple<std::vector<LabeledSensorInfo>, OperationType, 26 utils::tstring::SensorPath, utils::tstring::OperationType,
|
H A D | report_types.cpp | 21 utils::enumToString(metricParams.at_label<ts::OperationType>()), in toReadingParameters()
|
/openbmc/bmcweb/redfish-core/include/generated/enums/ |
H A D | volume.hpp | 128 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 D | test_metric.cpp | 48 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 D | test_report_manager.cpp | 115 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 D | test_report.cpp | 275 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 D | report_factory.cpp | 36 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 D | metric.cpp | 13 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 D | metric.hpp | 17 Metric(Sensors sensors, OperationType operationType, CollectionTimeScope, 38 OperationType operationType; member in Metric
|
H A D | report_manager.cpp | 133 utils::toUnderlying(item.at_label<ts::OperationType>())); in verifyAddReport()
|
/openbmc/telemetry/tests/src/params/ |
H A D | metric_params.hpp | 16 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 D | report_params.hpp | 156 OperationType::avg, 163 OperationType::avg,
|
/openbmc/telemetry/src/metrics/ |
H A D | collection_function.cpp | 155 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 D | collection_function.hpp | 27 std::shared_ptr<CollectionFunction> makeCollectionFunction(OperationType);
|
H A D | collection_data.hpp | 29 size_t size, OperationType, CollectionTimeScope, CollectionDuration);
|
H A D | collection_data.cpp | 126 size_t size, OperationType op, CollectionTimeScope timeScope, in makeCollectionData()
|
/openbmc/bmcweb/redfish-core/include/utils/ |
H A D | telemetry_utils.hpp | 126 "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 D | tstring.hpp | 35 struct OperationType struct 39 return "operationType"; in str()
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Telemetry/ |
H A D | ReportManager.interface.yaml | 49 …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 D | Report.interface.yaml | 35 …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 D | rde_handler.hpp | 89 uint8_t operationType; member
|
/openbmc/bios-bmc-smm-error-logger/src/rde/ |
H A D | rde_handler.cpp | 86 if (header->operationType != in operationInitRequest()
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | Drive.v1_21_0.json | 1104 … "$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 D | Drive.v1_21_0.json | 1104 … "$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…
|