Lines Matching refs:CStatistics
136 /*----- CStatistics -----*/
141 CPreciseRateCounter* CStatistics::s_upOverheadRate;
142 CPreciseRateCounter* CStatistics::s_downOverheadRate;
143 CStatTreeItemRateCounter* CStatistics::s_uploadrate;
144 CStatTreeItemRateCounter* CStatistics::s_downloadrate;
148 uint64 CStatistics::s_start_time;
149 uint64 CStatistics::s_statData[sdTotalItems];
154 CStatTreeItemBase* CStatistics::s_statTree;
158 CStatTreeItemTimer* CStatistics::s_uptime;
161 CStatTreeItemUlDlCounter* CStatistics::s_sessionUpload;
162 CStatTreeItemPacketTotals* CStatistics::s_totalUpOverhead;
163 CStatTreeItemPackets* CStatistics::s_fileReqUpOverhead;
164 CStatTreeItemPackets* CStatistics::s_sourceXchgUpOverhead;
165 CStatTreeItemPackets* CStatistics::s_serverUpOverhead;
166 CStatTreeItemPackets* CStatistics::s_kadUpOverhead;
167 CStatTreeItemCounter* CStatistics::s_cryptUpOverhead;
168 CStatTreeItemNativeCounter* CStatistics::s_activeUploads;
169 CStatTreeItemNativeCounter* CStatistics::s_waitingUploads;
170 CStatTreeItemCounter* CStatistics::s_totalSuccUploads;
171 CStatTreeItemCounter* CStatistics::s_totalFailedUploads;
172 CStatTreeItemCounter* CStatistics::s_totalUploadTime;
175 CStatTreeItemUlDlCounter* CStatistics::s_sessionDownload;
176 CStatTreeItemPacketTotals* CStatistics::s_totalDownOverhead;
177 CStatTreeItemPackets* CStatistics::s_fileReqDownOverhead;
178 CStatTreeItemPackets* CStatistics::s_sourceXchgDownOverhead;
179 CStatTreeItemPackets* CStatistics::s_serverDownOverhead;
180 CStatTreeItemPackets* CStatistics::s_kadDownOverhead;
181 CStatTreeItemCounter* CStatistics::s_cryptDownOverhead;
182 CStatTreeItemNativeCounter* CStatistics::s_foundSources;
183 CStatTreeItemNativeCounter* CStatistics::s_activeDownloads;
186 CStatTreeItemReconnects* CStatistics::s_reconnects;
187 CStatTreeItemTimer* CStatistics::s_sinceFirstTransfer;
188 CStatTreeItemTimer* CStatistics::s_sinceConnected;
189 CStatTreeItemCounterMax* CStatistics::s_activeConnections;
190 CStatTreeItemMaxConnLimitReached* CStatistics::s_limitReached;
191 CStatTreeItemSimple* CStatistics::s_avgConnections;
194 CStatTreeItemHiddenCounter* CStatistics::s_clients;
195 CStatTreeItemCounter* CStatistics::s_unknown;
196 //CStatTreeItem CStatistics::s_lowID;
197 //CStatTreeItem CStatistics::s_secIdentOnOff;
199 CStatTreeItemNativeCounter* CStatistics::s_hasSocket;
201 CStatTreeItemNativeCounter* CStatistics::s_filtered;
202 CStatTreeItemNativeCounter* CStatistics::s_banned;
205 CStatTreeItemSimple* CStatistics::s_workingServers;
206 CStatTreeItemSimple* CStatistics::s_failedServers;
207 CStatTreeItemNativeCounter* CStatistics::s_totalServers;
208 CStatTreeItemNativeCounter* CStatistics::s_deletedServers;
209 CStatTreeItemNativeCounter* CStatistics::s_filteredServers;
210 CStatTreeItemSimple* CStatistics::s_usersOnWorking;
211 CStatTreeItemSimple* CStatistics::s_filesOnWorking;
212 CStatTreeItemSimple* CStatistics::s_totalUsers;
213 CStatTreeItemSimple* CStatistics::s_totalFiles;
214 CStatTreeItemSimple* CStatistics::s_serverOccupation;
217 CStatTreeItemCounter* CStatistics::s_numberOfShared;
218 CStatTreeItemCounter* CStatistics::s_sizeOfShare;
221 uint64_t CStatistics::s_kadNodesTotal;
222 uint16_t CStatistics::s_kadNodesCur;
225 uint64_t CStatistics::s_totalSent;
226 uint64_t CStatistics::s_totalReceived;
228 bool CStatistics::s_statsNeedSave;
231 CStatistics::CStatistics()
272 CStatistics::~CStatistics()
308 void CStatistics::Load()
343 void CStatistics::Save()
357 void CStatistics::CalculateRates()
391 void CStatistics::RecordHistory()
457 unsigned CStatistics::GetHistory( // Assemble arrays of sample points for a graph
532 unsigned CStatistics::GetHistoryForWeb( // Assemble arrays of sample points for the webserver
594 void CStatistics::ComputeAverages(
683 GraphUpdateInfo CStatistics::GetPointsForUpdate()
720 void CStatistics::InitStatsTree()
818 void CStatistics::UpdateStatsTree()
848 void CStatistics::AddSourceOrigin(unsigned origin)
860 void CStatistics::RemoveSourceOrigin(unsigned origin)
884 void CStatistics::AddDownloadFromSoft(uint8 SoftType, uint32 bytes)
900 void CStatistics::AddUploadToSoft(uint8 SoftType, uint32 bytes)
933 void CStatistics::AddKnownClient(CUpDownClient *pClient)
987 void CStatistics::RemoveKnownClient(uint32 clientSoft, uint32 clientVersion, const wxString& OSInfo)
1013 CStatistics::CStatistics(CRemoteConnect &conn)
1029 CStatistics::~CStatistics()
1035 void CStatistics::UpdateStats(const CECPacket* stats)
1070 void CStatistics::UpdateStatsTree()
1075 void CStatistics::RebuildStatTreeRemote(const CECTag * tag)
1082 uint64 CStatistics::GetUptimeMillis()
1088 uint64 CStatistics::GetUptimeSeconds()