Home
last modified time | relevance | path

Searched refs:ReportingType (Results 1 – 12 of 12) sorted by relevance

/openbmc/telemetry/src/types/
H A Dreporting_type.hpp12 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 Dreport.cpp25 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 Dreport.hpp59 const ReportingType reportingType,
99 const ReportingType reportingTypeIn) const;
111 static std::vector<ErrorMessage> verify(ReportingType, Milliseconds);
116 ReportingType reportingType;
H A Dreport_manager.cpp57 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 Dreport_manager.hpp48 const ReportingType reportingType, Milliseconds interval,
53 const std::string& reportName, const ReportingType reportingType,
59 const ReportingType reportingType,
H A Dreport_factory.hpp34 const ReportingType reportingType,
H A Dreport_factory.cpp20 const ReportingType reportingType, in make()
/openbmc/telemetry/tests/src/
H A Dtest_report.cpp48 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 Dtest_report_manager.cpp149 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 Dreport_params.hpp35 ReportParams& reportingType(const ReportingType val) in reportingType()
41 ReportingType reportingType() const in reportingType()
145 ReportingType reportingTypeProperty = ReportingType::onChange;
/openbmc/telemetry/src/interfaces/
H A Dreport_factory.hpp40 const ReportingType reportingType,
/openbmc/telemetry/tests/src/mocks/
H A Dreport_factory_mock.hpp62 (const std::string&, const std::string&, const ReportingType,