Home
last modified time | relevance | path

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

/openbmc/telemetry/src/types/
H A Dreporting_type.hpp12 enum class ReportingType : uint32_t enum
23 struct EnumTraits<ReportingType>
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
47 inline ReportingType toReportingType(const std::string& value) 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.cpp24 const ReportingType reportingTypeIn, in Report()
161 reportingTypeIn == ReportingType::onRequest) in deduceBufferSize()
209 ReportingType newReportingTypeT = reportingType; in makeReportInterface()
359 if (reportingType == ReportingType::onRequest) in makeReportInterface()
439 reportingType == ReportingType::onRequest) in updateReadings()
477 return reportingType != ReportingType::onRequest && in shouldStoreMetricValues()
557 case ReportingType::periodic: in scheduleTimer()
563 case ReportingType::onChange: in scheduleTimer()
607 std::vector<ErrorMessage> Report::verify(ReportingType reportingType, in verify()
617 if ((reportingType == ReportingType::periodic && 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.hpp48 const ReportingType reportingType, Milliseconds interval,
53 const std::string& reportName, const ReportingType reportingType,
59 const ReportingType reportingType,
H A Dreport_manager.cpp54 reportingType = utils::enumToString(ReportingType::onRequest); in ReportManager()
96 const ReportingType reportingType, Milliseconds interval, in verifyAddReport()
115 if ((reportingType == ReportingType::periodic && interval < minInterval) || in verifyAddReport()
116 (reportingType != ReportingType::periodic && in verifyAddReport()
133 const std::string& reportName, const ReportingType reportingType, in addReport()
148 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.cpp48 return defaultParams().reportingType(ReportingType::onChange); in defaultOnChangeParams()
761 .reportingType(ReportingType::periodic)
944 void changeReport(ReportingType rt, Milliseconds interval) in changeReport()
1063 .reportingType(ReportingType::periodic) in TEST_P()
1078 .reportingType(ReportingType::onRequest) in TEST_P()
1093 .reportingType(ReportingType::periodic) in TEST_P()
1096 changeReport(ReportingType::onRequest, Milliseconds{0}); in TEST_P()
1228 .reportingType(ReportingType::periodic) in TEST_F()
1257 .reportingType(ReportingType::periodic) in TEST_F()
1269 .reportingType(ReportingType::onRequest) in TEST_F()
[all …]
H A Dtest_report_manager.cpp148 make("Report"s, "Report"s, ReportingType::onRequest, in TEST_F()
167 .expectMake(reportParams.reportingType(ReportingType::onChange), in TEST_F()
328 reportParams.reportingType(ReportingType::periodic); in TEST_F()
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Telemetry/
H A DReport.interface.yaml10 It triggers update of the Readings property. If ReportingType is not
14 Performs safe modification of ReportingType and Interval properties
18 - name: ReportingType
19 type: enum[self.ReportingType]
55 - name: ReportingType
56 type: enum[self.ReportingType]
115 - name: ReportingType
175 ReportingType property has value "Periodic", but Interval is set
H A DReportManager.interface.yaml25 type: enum[xyz.openbmc_project.Telemetry.Report.ReportingType]
/openbmc/telemetry/src/interfaces/
H A Dreport_factory.hpp40 const ReportingType reportingType,
/openbmc/telemetry/tests/src/mocks/
H A Dreport_factory_mock.hpp61 (const std::string&, const std::string&, const ReportingType,