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

Method GetSentBytesCompleteFileSinceLastCallAndReset

src/EMSocket.cpp:366–374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364
365
366uint64 CEMSocket::GetSentBytesCompleteFileSinceLastCallAndReset()
367{
368 std::lock_guard<std::mutex> lock( m_sendLocker );
369
370 uint64 sentBytes = m_numberOfSentBytesCompleteFile;
371 m_numberOfSentBytesCompleteFile = 0;
372
373 return sentBytes;
374}
375
376
377uint64 CEMSocket::GetSentBytesPartFileSinceLastCallAndReset()

Callers 1

SendBlockDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected