Searched refs:theStats (Results 1 - 25 of 30) sorted by relevance

12

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/kademlia/routing/
H A DContact.cpp51 theStats::RemoveKadNode();
71 theStats::AddKadNode();
77 theStats::AddKadNode();
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/
H A DClientTCPSocket.cpp36 #include "Statistics.h" // Needed for theStats
319 theStats::AddDownOverheadOther(size);
343 theStats::AddDownOverheadOther(size);
434 theStats::AddDownOverheadFileRequest(size);
478 theStats::AddUpOverheadFileRequest(packet->GetPacketSize());
494 theStats::AddDownOverheadFileRequest(size);
513 theStats::AddUpOverheadFileRequest(replypacket->GetPacketSize());
535 theStats::AddUpOverheadFileRequest(packet->GetPacketSize());
548 theStats::AddDownOverheadFileRequest(size);
577 theStats
[all...]
H A DClientUDPSocket.cpp43 #include "Statistics.h" // Needed for theStats
98 theStats::AddDownOverheadKad(length);
107 theStats::AddDownOverheadKad(length);
145 theStats::AddDownOverheadOther(size);
165 theStats::AddUpOverheadFileRequest(response->GetPacketSize());
173 theStats::AddDownOverheadFileRequest(size);
183 theStats::AddUpOverheadFileRequest(response->GetPacketSize());
224 theStats::AddUpOverheadFileRequest(response->GetPacketSize());
232 if ((theStats::GetWaitingUserCount() + 50) > thePrefs::GetQueueSize()) {
234 theStats
[all...]
H A DUploadQueue.cpp54 #include "Statistics.h" // Needed for theStats
213 theStats::AddUpOverheadFileRequest(packet->GetPacketSize());
224 theStats::AddUploadingClient();
287 theStats::AddSentBytes(sentBytes);
302 float kBpsUp = theStats::GetUploadRate() / 1024.0f;
384 if (theApp->serverconnect->IsConnected() && theApp->serverconnect->IsLowID() && !theApp->serverconnect->IsLocalServer(client->GetServerIP(),client->GetServerPort()) && client->GetDownloadState() == DS_NONE && !client->IsFriend() && theStats::GetWaitingUserCount() > 50) {
489 theStats::AddUpOverheadFileRequest(packet->GetPacketSize());
513 theStats::AddWaitingClient();
533 theStats::RemoveUploadingClient();
535 theStats
[all...]
H A DListenSocket.cpp32 #include "Statistics.h" // Needed for theStats
111 theStats::AddMaxConnectionLimitReached();
203 theStats::AddActiveConnection();
210 theStats::RemoveActiveConnection();
H A Damule-remote-gui.h702 bool IsFirewalledKadUDP() const { return theStats::IsFirewalledKadUDP(); }
703 bool IsKadRunningInLanMode() const { return theStats::IsKadRunningInLanMode(); }
705 uint32 GetKadUsers() const { return theStats::GetKadUsers(); }
706 uint32 GetKadFiles() const { return theStats::GetKadFiles(); }
707 uint32 GetKadIndexedSources() const { return theStats::GetKadIndexedSources(); }
708 uint32 GetKadIndexedKeywords() const{ return theStats::GetKadIndexedKeywords(); }
709 uint32 GetKadIndexedNotes() const { return theStats::GetKadIndexedNotes(); }
710 uint32 GetKadIndexedLoad() const { return theStats::GetKadIndexedLoad(); }
712 uint32 GetKadIPAdress() const { return theStats::GetKadIPAdress(); }
714 uint8 GetBuddyStatus() const { return theStats
[all...]
H A DMuleTrayIcon.cpp46 #include "Statistics.h" // Needed for theStats
318 label = CFormat(_("Download speed: %.1f")) % (theStats::GetDownloadRate() / 1024.0);
320 label = CFormat(_("Upload speed: %.1f")) % (theStats::GetUploadRate() / 1024.0);
406 wxString temp = CFormat(_("Uptime: %s")) % CastSecondsToHM(theStats::GetUptimeSeconds());
412 wxString temp = CFormat(_("Shared files: %d")) % theStats::GetSharedFileCount();
418 wxString temp = CFormat(_("Queued clients: %d")) % theStats::GetWaitingUserCount();
424 wxString temp = CastItoXBytes(theStats::GetTotalReceivedBytes());
431 wxString temp = CastItoXBytes(theStats::GetTotalSentBytes());
H A DServerConnect.cpp45 #include "Statistics.h" // Needed for theStats
268 theStats::AddUpOverheadServer(packet->GetPacketSize());
271 theStats::AddReconnect();
272 theStats::GetServerConnectTimer()->ResetTimer();
291 theStats::AddUpOverheadServer(packet->GetPacketSize());
407 theStats::GetServerConnectTimer()->StopTimer();
503 theStats::GetServerConnectTimer()->StopTimer();
606 theStats::AddUpOverheadServer(packet->GetPacketSize());
H A DDownloadClient.cpp49 #include "Statistics.h" // Needed for theStats
173 theStats::AddUpOverheadFileRequest(packet->GetPacketSize());
268 theStats::AddUpOverheadFileRequest(packet->GetPacketSize());
281 theStats::AddUpOverheadFileRequest(packet->GetPacketSize());
294 theStats::AddUpOverheadFileRequest(packet->GetPacketSize());
319 theStats::AddUpOverheadSourceExchange(packet->GetPacketSize());
329 theStats::AddUpOverheadOther(packet->GetPacketSize());
370 theStats::AddUpOverheadFileRequest(packet->GetPacketSize());
474 theStats::AddUpOverheadFileRequest(packet->GetPacketSize());
538 theStats
[all...]
H A DServerSocket.cpp45 #include "Statistics.h" // Needed for theStats
225 theStats::AddDownOverheadServer(size);
304 theStats::AddDownOverheadServer(size);
426 theStats::AddDownOverheadServer(size);
441 theStats::AddDownOverheadServer(size);
472 theStats::AddDownOverheadServer(size);
544 theStats::AddDownOverheadServer(size);
668 theStats::AddDownOverheadServer(packet->GetPacketSize());
680 theStats::AddDownOverheadServer(packet->GetPacketSize());
H A DUploadClient.cpp43 #include "Statistics.h" // Needed for theStats
323 theStats::AddUpOverheadFileRequest(16 + 2 * (bLargeBlocks ? 8 :4));
324 theStats::AddUploadToSoft(GetClientSoft(), nPacketSize);
387 theStats::AddUpOverheadFileRequest(24);
388 theStats::AddUploadToSoft(GetClientSoft(), nPacketSize);
656 theStats::AddUpOverheadFileRequest(pPacket->GetPacketSize());
710 theStats::AddUpOverheadFileRequest(packet->GetPacketSize());
739 theStats::AddUpOverheadOther(packet->GetPacketSize());
765 theStats::AddUpOverheadOther(packet->GetPacketSize());
H A DEncryptedDatagramSocket.cpp252 theStats::AddDownOverheadCrypt(bufLen - result);
372 theStats::AddUpOverheadCrypt(cryptedLen - bufLen);
423 theStats::AddDownOverheadCrypt(nBufLen - nResult);
483 theStats::AddUpOverheadCrypt(nCryptedLen - nBufLen);
H A DBaseClient.cpp73 #include "Statistics.h" // Needed for theStats
308 theStats::RemoveUnknownClient();
310 theStats::RemoveKnownClient(m_lastClientSoft, m_lastClientVersion, m_lastOSInfo);
751 theStats::AddUpOverheadOther(packet->GetPacketSize());
838 theStats::AddUpOverheadOther(packet->GetPacketSize());
1030 theStats::AddUpOverheadOther(packet->GetPacketSize());
1531 theStats::AddUpOverheadOther(packet->GetPacketSize());
1551 theStats::AddUpOverheadServer(packet->GetPacketSize());
1587 theStats::AddUpOverheadKad(packet->GetRealPacketSize());
1725 theStats
[all...]
H A Damule.cpp936 temp = CFormat(wxT("%.1f")) % (theStats::GetDownloadRate() / 1024.0);
942 temp = CFormat(wxT("%.1f")) % (theStats::GetUploadRate() / 1024.0);
948 temp = CFormat(wxT("%d")) % theStats::GetWaitingUserCount();
954 amulesig_out.AddLine(CFormat(wxT("%d")) % theStats::GetSharedFileCount());
966 amulesig_out.AddLine(CFormat(wxT("%llu")) % theStats::GetTotalReceivedBytes());
969 amulesig_out.AddLine(CFormat(wxT("%llu")) % theStats::GetTotalSentBytes());
985 theStats::GetSessionReceivedBytes() );
989 theStats::GetSessionSentBytes() );
992 amulesig_out.AddLine(CFormat(wxT("%llu")) % theStats::GetUptimeSeconds());
1142 uint64 msCur = theStats
[all...]
H A DIPFilter.cpp33 #include "Statistics.h" // Needed for theStats
429 theStats::AddFilteredServer();
431 theStats::AddFilteredClient();
466 theStats::AddFilteredServer();
468 theStats::AddFilteredClient();
H A DStatisticsDlg.cpp243 stattree->AddRoot(theStats::GetTreeRoot()->GetDisplayString());
290 CStatTreeItemBase* treeRoot = theStats::GetTreeRoot();
H A DServerList.cpp48 #include "Statistics.h" // Needed for theStats
244 theStats::AddServer();
312 theStats::AddUpOverheadServer(packet->GetPacketSize());
333 theStats::AddUpOverheadServer(packet->GetPacketSize());
362 theStats::DeleteServer();
375 theStats::DeleteAllServers();
H A DStatistics.cpp126 return CFormat(wxGetTranslation(m_label)) % theStats::GetPeakConnections();
132 tag->AddTag(CECTag(EC_TAG_STAT_NODE_VALUE, (uint64)theStats::GetPeakConnections()));
732 s_sessionUpload = (CStatTreeItemUlDlCounter*)tmpRoot2->AddChild(new CStatTreeItemUlDlCounter(wxTRANSLATE("Uploaded Data (Session (Total)): %s"), theStats::GetTotalSentBytes, stSortChildren | stSortByValue));
753 s_sessionDownload = (CStatTreeItemUlDlCounter*)tmpRoot2->AddChild(new CStatTreeItemUlDlCounter(wxTRANSLATE("Downloaded Data (Session (Total)): %s"), theStats::GetTotalReceivedBytes, stSortChildren | stSortByValue));
769 tmpRoot1->AddChild(new CStatTreeItemRatio(wxTRANSLATE("Session UL:DL Ratio (Total): %s"), s_sessionUpload, s_sessionDownload, theStats::GetTotalSentBytes, theStats::GetTotalReceivedBytes), 3);
H A DamuleDlg.cpp71 #include "Statistics.h" // Needed for theStats
841 float kBpsUp = theStats::GetUploadRate() / 1024.0;
842 float kBpsDown = theStats::GetDownloadRate() / 1024.0;
846 buffer = CFormat(_("Up: %.1f(%.1f) | Down: %.1f(%.1f)")) % kBpsUp % (theStats::GetUpOverheadRate() / 1024.0) % kBpsDown % (theStats::GetDownOverheadRate() / 1024.0);
1088 uint32 msCur = theStats::GetUptimeMillis();
1104 m_statisticswnd->UpdateStatGraphs(theStats::GetPeakConnections(), update);
H A DServerUDPSocket.cpp42 #include "Statistics.h" // Needed for theStats
99 theStats::AddDownOverheadOther(length);
109 theStats::AddDownOverheadOther(size);
244 //theStats.AddUpDataOverheadServer(packet->size);
H A DExternalConn.cpp51 #include "Statistics.h" // Needed for theStats
569 response->AddTag(CECTag(EC_TAG_STATS_UP_OVERHEAD, (uint32)theStats::GetUpOverheadRate()));
570 response->AddTag(CECTag(EC_TAG_STATS_DOWN_OVERHEAD, (uint32)theStats::GetDownOverheadRate()));
571 response->AddTag(CECTag(EC_TAG_STATS_BANNED_COUNT, /*(uint32)*/theStats::GetBannedCount()));
574 response->AddTag(CECTag(EC_TAG_STATS_TOTAL_SENT_BYTES, theStats::GetTotalSentBytes()));
575 response->AddTag(CECTag(EC_TAG_STATS_TOTAL_RECEIVED_BYTES, theStats::GetTotalReceivedBytes()));
576 response->AddTag(CECTag(EC_TAG_STATS_SHARED_FILE_COUNT, theStats::GetSharedFileCount()));
579 response->AddTag(CECTag(EC_TAG_STATS_UL_SPEED, (uint32)theStats::GetUploadRate()));
580 response->AddTag(CECTag(EC_TAG_STATS_DL_SPEED, (uint32)(theStats::GetDownloadRate())));
583 response->AddTag(CECTag(EC_TAG_STATS_UL_QUEUE_LEN, /*(uint32)*/theStats
[all...]
H A DSearchList.cpp39 #include "Statistics.h" // Needed for theStats
352 theStats::AddUpOverheadServer(searchPacket->GetPacketSize());
441 theStats::AddUpOverheadServer(extSearchPacket->GetPacketSize());
448 theStats::AddUpOverheadServer(m_searchPacket->GetPacketSize());
457 theStats::AddUpOverheadServer(m_searchPacket->GetPacketSize());
H A DSharedFileList.cpp44 #include "Statistics.h" // Needed for theStats
317 theStats::ClearSharedFilesInfo();
498 theStats::AddSharedFile(pFile->GetFileSize());
526 theStats::RemoveSharedFile(toremove->GetFileSize());
754 theStats::AddUpOverheadServer(packet->GetPacketSize());
H A DUploadBandwidthThrottler.cpp298 allowedDataRate = (uint32)theStats::GetUploadRate() + 5 * 1024;
H A DClientList.cpp41 #include "Statistics.h" // Needed for theStats
535 theStats::RemoveBannedClient();
730 theStats::AddBannedClient();
752 theStats::RemoveBannedClient();
996 if (pCurClient->GetSourceFrom() == SF_SOURCE_SEEDS && cur_tick - (uint32)theStats::GetStartTime() < MIN2MS(10)) continue;

Completed in 179 milliseconds

12