Lines Matching refs:theStats
54 #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::AddSuccessfulUpload();
536 theStats::AddUploadTime(client->GetUpStartTimeDelay() / 1000);
538 theStats::AddFailedUpload();
634 theStats::AddWaitingClient();
671 theStats::RemoveWaitingClient();