diff options
Diffstat (limited to 'cpp/src/Ice/UdpTransceiver.cpp')
-rw-r--r-- | cpp/src/Ice/UdpTransceiver.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/cpp/src/Ice/UdpTransceiver.cpp b/cpp/src/Ice/UdpTransceiver.cpp index dd5d77775d4..6c9f722aeb8 100644 --- a/cpp/src/Ice/UdpTransceiver.cpp +++ b/cpp/src/Ice/UdpTransceiver.cpp @@ -17,7 +17,6 @@ #include <IceUtil/StringUtil.h> #include <IceUtil/DisableWarnings.h> -#include <Ice/Stats.h> #ifdef ICE_OS_WINRT # include <ppltasks.h> // For Concurrency::task @@ -240,11 +239,6 @@ repeat: out << "sent " << ret << " bytes via " << _instance->protocol() << '\n' << toString(); } - if(_instance->stats()) - { - _instance->stats()->bytesSent(protocol(), static_cast<Int>(ret)); - } - assert(ret == static_cast<ssize_t>(buf.b.size())); buf.i = buf.b.end(); return SocketOperationNone; @@ -361,11 +355,6 @@ repeat: out << "received " << ret << " bytes via " << _instance->protocol() << '\n' << toString(); } - if(_instance->stats()) - { - _instance->stats()->bytesReceived(protocol(), static_cast<Int>(ret)); - } - buf.b.resize(ret); buf.i = buf.b.end(); return SocketOperationNone; @@ -622,11 +611,6 @@ IceInternal::UdpTransceiver::finishWrite(Buffer& buf) out << "sent " << _write.count << " bytes via " << _instance->protocol() << '\n' << toString(); } - if(_instance->stats()) - { - _instance->stats()->bytesSent(protocol(), static_cast<Int>(_write.count)); - } - assert(_write.count == buf.b.size()); buf.i = buf.b.end(); } @@ -767,11 +751,6 @@ IceInternal::UdpTransceiver::finishRead(Buffer& buf) out << "received " << ret << " bytes via " << _instance->protocol() << '\n' << toString(); } - if(_instance->stats()) - { - _instance->stats()->bytesReceived(protocol(), static_cast<Int>(ret)); - } - buf.b.resize(ret); buf.i = buf.b.end(); } |