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/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/ |
| 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.cpp | 32 const ReportingType reportingTypeIn, in Report() 168 const ReportingType reportingTypeIn) const in deduceBufferSize() 171 reportingTypeIn == ReportingType::onRequest) in deduceBufferSize() 221 ReportingType newReportingTypeT = reportingType; in makeReportInterface() 388 if (reportingType == ReportingType::onRequest) in makeReportInterface() 468 reportingType == ReportingType::onRequest) in updateReadings() 507 return reportingType != ReportingType::onRequest && in shouldStoreMetricValues() 589 case ReportingType::periodic: in scheduleTimer() 595 case ReportingType::onChange: in scheduleTimer() 639 std::vector<ErrorMessage> Report::verify(ReportingType reportingType, in verify() [all …]
|
| H A D | report.hpp | 63 const ReportingType reportingType, 103 const ReportingType reportingTypeIn) const; 115 static std::vector<ErrorMessage> verify(ReportingType, Milliseconds); 120 ReportingType reportingType;
|
| H A D | report_manager.cpp | 69 utils::enumToString(ReportingType::onRequest); in ReportManager() 114 const ReportingType reportingType, Milliseconds interval, in verifyAddReport() 133 if ((reportingType == ReportingType::periodic && interval < minInterval) || in verifyAddReport() 134 (reportingType != ReportingType::periodic && in verifyAddReport() 151 const std::string& reportName, const ReportingType reportingType, in addReport() 166 const ReportingType reportingType, in addReport()
|
| 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 | 55 return defaultParams().reportingType(ReportingType::onChange); in defaultOnChangeParams() 475 utils::enumToString(ReportingType::periodic), in TEST_F() 500 .reportingType(ReportingType::onRequest) in TEST_F() 519 .reportingType(ReportingType::onRequest) in TEST_F() 529 Eq(utils::enumToString(ReportingType::onRequest))); in TEST_F() 536 .reportingType(ReportingType::onRequest) in TEST_F() 540 utils::enumToString(ReportingType::periodic), in TEST_F() 547 Eq(utils::enumToString(ReportingType::onRequest))); in TEST_F() 819 Values(defaultParams().reportingType(ReportingType::onRequest), 820 defaultParams().reportingType(ReportingType::onChange), [all …]
|
| H A D | test_report_manager.cpp | 161 make("Report"s, "Report"s, ReportingType::onRequest, in TEST_F() 180 .expectMake(reportParams.reportingType(ReportingType::onChange), in TEST_F() 341 reportParams.reportingType(ReportingType::periodic); in TEST_F()
|
| /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,
|