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/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/
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.cpp32 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 Dreport.hpp63 const ReportingType reportingType,
103 const ReportingType reportingTypeIn) const;
115 static std::vector<ErrorMessage> verify(ReportingType, Milliseconds);
120 ReportingType reportingType;
H A Dreport_manager.cpp69 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 Dreport_factory.hpp34 const ReportingType reportingType,
H A Dreport_factory.cpp20 const ReportingType reportingType, in make()
/openbmc/telemetry/tests/src/
H A Dtest_report.cpp55 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 Dtest_report_manager.cpp161 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 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,