Go to the source code of this file.
Functions | |
void | statInit (void) |
double | median_svc_get (int, int) |
void | pconnHistCount (int, int) |
int | stat5minClientRequests (void) |
double | stat5minCPUUsage (void) |
double | statRequestHitRatio (int minutes) |
double | statRequestHitMemoryRatio (int minutes) |
double | statRequestHitDiskRatio (int minutes) |
double | statByteHitRatio (int minutes) |
StatCounters * | snmpStatGet (int) |
Function Documentation
◆ median_svc_get()
◆ pconnHistCount()
◆ snmpStatGet()
StatCounters * snmpStatGet | ( | int | minutes | ) |
◆ stat5minClientRequests()
int stat5minClientRequests | ( | void | ) |
Definition at line 1687 of file stat.cc.
References assert, StatCounters::client_http, CountHist, N_COUNT_HIST, StatCounters::requests, and statCounter.
Referenced by peerRefreshDNS().
◆ stat5minCPUUsage()
double stat5minCPUUsage | ( | void | ) |
◆ statByteHitRatio()
Definition at line 1732 of file stat.cc.
References StatCounters::all, assert, StatCounters::cd, StatCounters::client_http, CountHist, DBG_IMPORTANT, debugs, Math::doublePercent(), ByteCounter::kb, StatCounters::kbytes_in, StatCounters::kbytes_out, StatCounters::kbytes_recv, N_COUNT_HIST, and StatCounters::server.
Referenced by GetInfo(), and snmp_prfProtoFn().
◆ statInit()
void statInit | ( | void | ) |
Definition at line 1248 of file stat.cc.
References ClientActiveRequests, COUNT_INTERVAL, CountHist, CountHourHist, debugs, eventAdd(), dlink_list::head, N_COUNT_HIST, N_COUNT_HOUR_HIST, statAvgTick(), statCounter, statCountersInit(), statRegisterWithCacheManager(), and dlink_list::tail.
Referenced by mainInitialize().
◆ statRequestHitDiskRatio()
Definition at line 1722 of file stat.cc.
References assert, StatCounters::client_http, CountHist, StatCounters::disk_hits, Math::doublePercent(), StatCounters::hits, and N_COUNT_HIST.
Referenced by GetInfo().
◆ statRequestHitMemoryRatio()
Definition at line 1712 of file stat.cc.
References assert, StatCounters::client_http, CountHist, Math::doublePercent(), StatCounters::hits, StatCounters::mem_hits, and N_COUNT_HIST.
Referenced by GetInfo().
◆ statRequestHitRatio()
Definition at line 1702 of file stat.cc.
References assert, StatCounters::client_http, CountHist, Math::doublePercent(), StatCounters::hits, N_COUNT_HIST, and StatCounters::requests.
Referenced by GetInfo(), and snmp_prfProtoFn().