| 1016 | } |
| 1017 | |
| 1018 | void MSInfo::msDumpChannels(std::ostream &os) const |
| 1019 | { |
| 1020 | PDCHL1Uplink *up; PDCHL1Downlink *down; |
| 1021 | os <<" channels:"; |
| 1022 | int howmany = 0; |
| 1023 | RN_FOR_ALL_CONST(PDCHL1DownlinkList_t,msPCHDowns,down) { |
| 1024 | if (howmany++ == 0) os << " down=("; |
| 1025 | os << format(" %d:%d",down->CN(),down->TN()); |
| 1026 | } |
| 1027 | if (howmany) os << ")"; |
| 1028 | howmany = 0; |
| 1029 | RN_FOR_ALL_CONST(PDCHL1UplinkList_t,msPCHUps,up) { |
| 1030 | if (howmany++ == 0) os << " up=("; |
| 1031 | int tn = up->TN(); |
| 1032 | os << format(" %d:%d,usf=%d",up->CN(),tn,(int)msUSFs[tn]); |
| 1033 | } |
| 1034 | if (howmany) os << ")"; |
| 1035 | } |
| 1036 | |
| 1037 | void MSStat::msStatDump(const char *indent, std::ostream &os) |
| 1038 | { |