diff options
-rw-r--r-- | src/utils.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/utils.cpp b/src/utils.cpp index 33b8a98..8a3e7d3 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -321,6 +321,8 @@ void printSubchannels(const vec_sp_subchannel& subchannels) { int index = 0; + int total_num_cu = 0; + for (auto subchannel : subchannels) { dabProtection* protection = &subchannel->protection; etiLog.level(info) << "Subchannel " << subchannel->uid; @@ -365,8 +367,11 @@ void printSubchannels(const vec_sp_subchannel& subchannels) subchannel->startAddress); etiLog.log(info, " size (CU): %i", subchannel->getSizeCu()); + total_num_cu += subchannel->getSizeCu(); ++index; } + + etiLog.log(info, "Total ensemble size (CU): %i", total_num_cu); } static void printLinking(const shared_ptr<dabEnsemble>& ensemble) |