| 646 | } |
| 647 | |
| 648 | TString TUdpSocket::GetSockDebug() const { |
| 649 | TString result; |
| 650 | result += "SendSysSocketSize (SO_SNDBUF):\t"; |
| 651 | result += ToString(S->GetSendSysSocketSize()); |
| 652 | result += "\n"; |
| 653 | result += "SmallPacketsMergeRatio:\t"; |
| 654 | result += ToString(MergeRatio); |
| 655 | result += "\n"; |
| 656 | return result; |
| 657 | } |
| 658 | |
| 659 | void TUdpSocket::UpdateStats() { |
| 660 | MergeRatio = GetAndResetMergeRatio(); |
no test coverage detected