MCPcopy Create free account
hub / github.com/catboost/catboost / GetSockDebug

Method GetSockDebug

library/cpp/netliba/v12/udp_socket.cpp:648–657  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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();

Callers 1

ProcessDebugRequestsMethod · 0.80

Calls 2

GetSendSysSocketSizeMethod · 0.80
ToStringFunction · 0.50

Tested by

no test coverage detected