MCPcopy Create free account
hub / github.com/RangeNetworks/openbts / msDumpChannels

Method msDumpChannels

GPRS/MSInfo.cpp:1018–1035  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1016}
1017
1018void 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
1037void MSStat::msStatDump(const char *indent, std::ostream &os)
1038{

Callers 1

tbfDumpMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected