Attention is currently required from: fixeria. pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/28325 )
Change subject: bts_chan_load(): also calculate per-TRX channel load ......................................................................
Patch Set 1:
(2 comments)
File src/osmo-bsc/chan_alloc.c:
https://gerrit.osmocom.org/c/osmo-bsc/+/28325/comment/33aeb96b_80de2535 PS1, Line 47: struct load_counter *ll = &trx->lchan_load; I wonder what ll means here.
https://gerrit.osmocom.org/c/osmo-bsc/+/28325/comment/47af5698_b0b46c82 PS1, Line 85: ll->total++; You can simply do: ll->total += pl->total; ll->used += pl->used;
after the loop, instead of doing +1 N times.