MCPcopy Create free account
hub / github.com/amule-project/amule / GetSentBytesPartFileSinceLastCallAndReset

Method GetSentBytesPartFileSinceLastCallAndReset

src/EMSocket.cpp:377–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

375
376
377uint64 CEMSocket::GetSentBytesPartFileSinceLastCallAndReset()
378{
379 std::lock_guard<std::mutex> lock( m_sendLocker );
380
381 uint64 sentBytes = m_numberOfSentBytesPartFile;
382 m_numberOfSentBytesPartFile = 0;
383
384 return sentBytes;
385}
386
387uint64 CEMSocket::GetSentBytesControlPacketSinceLastCallAndReset()
388{

Callers 1

SendBlockDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected