/openbmc/telemetry/src/types/ |
H A D | operation_type.hpp | 9 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 D | report_types.hpp | 24 std::tuple<std::vector<LabeledSensorInfo>, OperationType, 26 utils::tstring::SensorPath, utils::tstring::OperationType,
|
H A D | report_types.cpp | 19 utils::enumToString(metricParams.at_label<ts::OperationType>()), in toReadingParameters()
|
/openbmc/bmcweb/redfish-core/include/generated/enums/ |
H A D | volume.hpp | 126 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 D | test_metric.cpp | 53 .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 D | test_report_manager.cpp | 114 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 D | test_report.cpp | 277 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 D | collection_function.cpp | 147 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 D | collection_function.hpp | 28 std::shared_ptr<CollectionFunction> makeCollectionFunction(OperationType);
|
H A D | collection_data.hpp | 29 makeCollectionData(size_t size, OperationType, CollectionTimeScope,
|
H A D | collection_data.cpp | 126 makeCollectionData(size_t size, OperationType op, in makeCollectionData()
|
/openbmc/telemetry/tests/src/params/ |
H A D | metric_params.hpp | 16 MetricParams& operationType(OperationType val) in operationType() 22 const OperationType& operationType() const in operationType() 83 OperationType operationTypeProperty = {};
|
H A D | report_params.hpp | 156 OperationType::avg, 163 OperationType::avg,
|
/openbmc/telemetry/src/ |
H A D | metric.hpp | 17 Metric(Sensors sensors, OperationType operationType, CollectionTimeScope, 38 OperationType operationType;
|
H A D | report_factory.cpp | 35 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 D | metric.cpp | 13 Metric::Metric(Sensors sensorsIn, OperationType operationTypeIn, in Metric() 159 (operationType == OperationType::min || in isTimerRequired() 160 operationType == OperationType::max)) in isTimerRequired()
|
H A D | report_manager.cpp | 127 utils::toUnderlying(item.at_label<ts::OperationType>())); in verifyAddReport()
|
/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/telemetry/src/utils/ |
H A D | tstring.hpp | 35 struct OperationType struct
|