Searched refs:ReportingType (Results 1 – 12 of 12) sorted by relevance
/openbmc/telemetry/src/types/ |
H A D | reporting_type.hpp | 12 enum class ReportingType : uint32_t enum 23 struct EnumTraits<ReportingType> 28 constexpr std::array<std::pair<std::string_view, ReportingType>, 3> 30 {std::make_pair<std::string_view, ReportingType>( 32 ReportingType::onChange), 33 std::make_pair<std::string_view, ReportingType>( 35 ReportingType::onRequest), 36 std::make_pair<std::string_view, ReportingType>( 38 ReportingType::periodic)}}; 40 inline ReportingType toReportingType( in toReportingType() [all …]
|
/openbmc/telemetry/src/ |
H A D | report.cpp | 25 const ReportingType reportingTypeIn, in Report() 157 const ReportingType reportingTypeIn) const in deduceBufferSize() 160 reportingTypeIn == ReportingType::onRequest) in deduceBufferSize() 209 ReportingType newReportingTypeT = reportingType; in makeReportInterface() 366 if (reportingType == ReportingType::onRequest) in makeReportInterface() 446 reportingType == ReportingType::onRequest) in updateReadings() 484 return reportingType != ReportingType::onRequest && in shouldStoreMetricValues() 566 case ReportingType::periodic: in scheduleTimer() 572 case ReportingType::onChange: in scheduleTimer() 616 std::vector<ErrorMessage> Report::verify(ReportingType reportingType, in verify() [all …]
|
H A D | report.hpp | 59 const ReportingType reportingType, 99 const ReportingType reportingTypeIn) const; 111 static std::vector<ErrorMessage> verify(ReportingType, Milliseconds); 116 ReportingType reportingType;
|
H A D | report_manager.cpp | 57 utils::enumToString(ReportingType::onRequest); in ReportManager() 102 const ReportingType reportingType, Milliseconds interval, in verifyAddReport() 121 if ((reportingType == ReportingType::periodic && interval < minInterval) || in verifyAddReport() 122 (reportingType != ReportingType::periodic && in verifyAddReport() 139 const std::string& reportName, const ReportingType reportingType, in addReport() 154 const ReportingType reportingType, in addReport()
|
H A D | report_manager.hpp | 48 const ReportingType reportingType, Milliseconds interval, 53 const std::string& reportName, const ReportingType reportingType, 59 const ReportingType reportingType,
|
H A D | report_factory.hpp | 34 const ReportingType reportingType,
|
H A D | report_factory.cpp | 20 const ReportingType reportingType, in make()
|
/openbmc/telemetry/tests/src/ |
H A D | test_report.cpp | 48 return defaultParams().reportingType(ReportingType::onChange); in defaultOnChangeParams() 429 utils::enumToString(ReportingType::periodic), in TEST_F() 452 .reportingType(ReportingType::onRequest) in TEST_F() 469 .reportingType(ReportingType::onRequest) in TEST_F() 477 Eq(utils::enumToString(ReportingType::onRequest))); in TEST_F() 484 .reportingType(ReportingType::onRequest) in TEST_F() 488 utils::enumToString(ReportingType::periodic), in TEST_F() 493 Eq(utils::enumToString(ReportingType::onRequest))); in TEST_F() 756 Values(defaultParams().reportingType(ReportingType::onRequest), 757 defaultParams().reportingType(ReportingType::onChange), [all …]
|
H A D | test_report_manager.cpp | 149 make("Report"s, "Report"s, ReportingType::onRequest, in TEST_F() 168 .expectMake(reportParams.reportingType(ReportingType::onChange), in TEST_F() 329 reportParams.reportingType(ReportingType::periodic); in TEST_F()
|
/openbmc/telemetry/tests/src/params/ |
H A D | report_params.hpp | 35 ReportParams& reportingType(const ReportingType val) in reportingType() 41 ReportingType reportingType() const in reportingType() 145 ReportingType reportingTypeProperty = ReportingType::onChange;
|
/openbmc/telemetry/src/interfaces/ |
H A D | report_factory.hpp | 40 const ReportingType reportingType,
|
/openbmc/telemetry/tests/src/mocks/ |
H A D | report_factory_mock.hpp | 62 (const std::string&, const std::string&, const ReportingType,
|