Skip to content

Commit

Permalink
sched: add RACH in scheduler logger
Browse files Browse the repository at this point in the history
  • Loading branch information
frankist committed Nov 20, 2024
1 parent 6600adb commit 2f3989f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lib/scheduler/logging/scheduler_result_logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,17 @@ void scheduler_result_logger::log_debug(const sched_result& result, std::chrono:
srs.sequence_id);
}

if (log_broadcast) {
for (const prach_occasion_info& prach : result.ul.prachs) {
fmt::format_to(fmtbuf,
"\n- PRACH: pci={} format={} nof_occasions={} nof_preambles={}",
prach.pci,
to_string(prach.format),
prach.nof_prach_occasions,
prach.nof_preamble_indexes);
}
}

if (fmtbuf.size() > 0) {
const unsigned nof_pdschs = result.dl.paging_grants.size() + result.dl.rar_grants.size() +
result.dl.ue_grants.size() + result.dl.bc.sibs.size();
Expand Down

0 comments on commit 2f3989f

Please sign in to comment.