Home
last modified time | relevance | path

Searched refs:maxReports (Results 1 – 4 of 4) sorted by relevance

/openbmc/bmcweb/redfish-core/lib/
H A Dtelemetry_service.hpp74 const size_t* maxReports = nullptr; in handleTelemetryServiceGet() local
78 dbus_utils::UnpackErrorPrinter(), ret, "MaxReports", maxReports, in handleTelemetryServiceGet()
87 if (maxReports != nullptr) in handleTelemetryServiceGet()
89 asyncResp->res.jsonValue["MaxReports"] = *maxReports; in handleTelemetryServiceGet()
/openbmc/telemetry/src/
H A Dreport_manager.cpp25 reports.reserve(maxReports); in ReportManager()
33 [](const auto&) { return maxReports; }); in ReportManager()
108 if (reports.size() >= maxReports) in verifyAddReport()
H A Dreport_manager.hpp67 static constexpr size_t maxReports{TELEMETRY_MAX_REPORTS}; member in ReportManager
/openbmc/telemetry/tests/src/
H A Dtest_report_manager.cpp105 TEST_F(TestReportManager, maxReports) in TEST_F() argument
108 Eq(ReportManager::maxReports)); in TEST_F()
438 .Times(ReportManager::maxReports); in TEST_F()
440 for (size_t i = 0; i < ReportManager::maxReports; i++) in TEST_F()
449 reportParams.reportName() + std::to_string(ReportManager::maxReports)); in TEST_F()