@@ -198,6 +198,7 @@ class ProgramStatus : public Program
198198 std::string userLogic = (reportInfo.userLogicEnabled ? " Enabled" : " Disabled" );
199199 std::string runStats = (reportInfo.runStatsEnabled ? " Enabled" : " Disabled" );
200200 std::string userAndCommonLogic = (reportInfo.userAndCommonLogicEnabled ? " Enabled" : " Disabled" );
201+ std::string dmaStatus = reportInfo.dmaStatus ? " Enabled" : " Disabled" ;
201202
202203 /* GENERAL PARAMETERS */
203204 if (mOptions .monitoring ) {
@@ -210,6 +211,7 @@ class ProgramStatus : public Program
210211 .addValue (reportInfo.runStatsEnabled , " runStats" )
211212 .addValue (reportInfo.userAndCommonLogicEnabled , " userAndCommonLogic" )
212213 .addValue (reportInfo.timeFrameLength , " timeFrameLength" )
214+ .addValue (reportInfo.dmaStatus , " dmaStatus" )
213215 .addTag (tags::Key::SerialId, card.serialId .getSerial ())
214216 .addTag (tags::Key::Endpoint, card.serialId .getEndpoint ())
215217 .addTag (tags::Key::ID, card.sequenceId )
@@ -225,6 +227,7 @@ class ProgramStatus : public Program
225227 root.put (" runStats" , runStats);
226228 root.put (" userAndCommonLogic" , userAndCommonLogic);
227229 root.put (" timeFrameLength" , reportInfo.timeFrameLength );
230+ root.put (" dmaStatus" , dmaStatus);
228231 } else {
229232 std::cout << " -----------------------------" << std::endl;
230233 std::cout << " CRU ID: " << reportInfo.cruId << std::endl;
@@ -239,6 +242,7 @@ class ProgramStatus : public Program
239242 if (reportInfo.runStatsEnabled ) {
240243 std::cout << " Run statistics enabled" << std::endl;
241244 }
245+ std::cout << " DMA: " << dmaStatus << std::endl;
242246 }
243247
244248 /* ONU PARAMETERS */
0 commit comments