|
Squid Web Cache master
|
#include <StatCounters.h>
Public Member Functions | |
| StatCounters () | |
General collection of process-wide statistics.
Definition at line 33 of file StatCounters.h.
|
inline |
Definition at line 36 of file StatCounters.h.
| int StatCounters::aborted_requests = 0 |
Definition at line 154 of file StatCounters.h.
Referenced by StoreEntry::abort(), and GetCountersStats().
| int StatCounters::accepts = 0 |
Definition at line 142 of file StatCounters.h.
Referenced by Comm::TcpAcceptor::acceptInto().
| struct { ... } StatCounters::all |
Referenced by Ftp::Client::Client(), Ftp::Client::dataRead(), GetCountersStats(), Http::Tunneler::handleReadyRead(), Http::Tunneler::handleWrittenRequest(), Ftp::Client::readControlReply(), WhoisState::readReply(), HttpStateData::readReply(), TunnelStateData::readServer(), Client::sentRequestBody(), snmp_prfProtoFn(), HttpStateData::start(), statByteHitRatio(), switchToTunnel(), tunnelStart(), Ftp::Client::writeCommandCallback(), TunnelStateData::writeServerDone(), and HttpStateData::wroteLast().
| StatHist StatCounters::allSvcTime |
Definition at line 52 of file StatCounters.h.
Referenced by clientUpdateStatHistCounters(), GetAvgStat(), snmp_prfProtoFn(), statCountersHistograms(), statCountersInitSpecial(), and statPctileSvc().
| uint64_t StatCounters::attempts = 0 |
Definition at line 163 of file StatCounters.h.
Referenced by GetCountersStats(), and Ipc::StoreMap::validateHit().
| int StatCounters::binds = 0 |
Definition at line 145 of file StatCounters.h.
Referenced by commBind().
| struct { ... } StatCounters::cd |
| struct { ... } StatCounters::client_http |
Referenced by ConnStateData::afterClientWrite(), clientdbAdd(), clientdbGC(), clientdbStartGC(), clientUpdateStatCounters(), clientUpdateStatHistCounters(), Server::doClientRead(), SignalEngine::doShutdown(), GetAvgStat(), GetCountersStats(), GetInfo(), TunnelStateData::readClient(), Ftp::Server::readUploadData(), snmp_prfProtoFn(), statByteHitRatio(), statCountersHistograms(), statCountersInitSpecial(), statPctileSvc(), statRequestHitDiskRatio(), statRequestHitMemoryRatio(), statRequestHitRatio(), statSawRecentRequests(), ClientHttpRequest::updateCounters(), and TunnelStateData::writeClientDone().
| int StatCounters::clients = 0 |
Definition at line 39 of file StatCounters.h.
Referenced by clientdbAdd(), clientdbGC(), clientdbStartGC(), GetInfo(), and snmp_prfProtoFn().
| int StatCounters::closes = 0 |
Definition at line 134 of file StatCounters.h.
Referenced by DiskdFile::closeDone(), comm_close_complete(), DiskThreadsDiskFile::doClose(), and file_close().
| Comm::Incoming StatCounters::comm_dns |
Definition at line 125 of file StatCounters.h.
Referenced by comm_poll_dns_incoming(), comm_select_dns_incoming(), commIncomingStats(), commIncomingStats(), and statCountersInitSpecial().
| Comm::Incoming StatCounters::comm_tcp |
Definition at line 126 of file StatCounters.h.
Referenced by comm_poll_tcp_incoming(), comm_select_tcp_incoming(), commIncomingStats(), commIncomingStats(), and statCountersInitSpecial().
| Comm::Incoming StatCounters::comm_udp |
Definition at line 127 of file StatCounters.h.
Referenced by comm_poll_udp_incoming(), comm_select_udp_incoming(), commIncomingStats(), commIncomingStats(), and statCountersInitSpecial().
| int StatCounters::connects = 0 |
Definition at line 144 of file StatCounters.h.
Referenced by comm_connect_addr().
| double StatCounters::cputime = 0.0 |
Definition at line 121 of file StatCounters.h.
Referenced by GetAvgStat(), GetCountersStats(), and statAvgTick().
| struct { ... } StatCounters::disk |
Referenced by DiskdFile::closeDone(), DiskThreadsDiskFile::create(), DiskdFile::createDone(), diskerRead(), diskerWriteAttempts(), diskHandleRead(), diskHandleWrite(), DiskThreadsDiskFile::doClose(), file_close(), file_open(), DiskThreadsDiskFile::open(), DiskdFile::openDone(), DiskThreadsDiskFile::read(), DiskdFile::readDone(), safeunlink(), storeRebuildLoadEntry(), DiskdIOStrategy::unlinkDone(), unlinkdUnlink(), DiskThreadsIOStrategy::unlinkFile(), DiskThreadsDiskFile::write(), and DiskdFile::writeDone().
| int StatCounters::disk_hits = 0 |
Definition at line 43 of file StatCounters.h.
Referenced by clientUpdateStatCounters(), and statRequestHitDiskRatio().
| struct { ... } StatCounters::dns |
| int StatCounters::errors = 0 |
Definition at line 44 of file StatCounters.h.
Referenced by GetCountersStats(), snmp_prfProtoFn(), and ClientHttpRequest::updateCounters().
| uint64_t StatCounters::failures = 0 |
Definition at line 167 of file StatCounters.h.
Referenced by GetCountersStats(), and Ipc::StoreMap::validateHit().
| int StatCounters::files_cleaned = 0 |
Definition at line 157 of file StatCounters.h.
Referenced by Fs::Ufs::UFSSwapDir::DirClean(), and GetCountersStats().
| struct { ... } StatCounters::ftp |
| CacheDigestGuessStats StatCounters::guess |
Definition at line 109 of file StatCounters.h.
Referenced by statPeerSelect().
| ByteCounter StatCounters::hit_kbytes_out |
Definition at line 47 of file StatCounters.h.
Referenced by ConnStateData::afterClientWrite(), and GetCountersStats().
| int StatCounters::hits = 0 |
Definition at line 41 of file StatCounters.h.
Referenced by clientUpdateStatCounters(), GetCountersStats(), snmp_prfProtoFn(), statRequestHitDiskRatio(), statRequestHitMemoryRatio(), and statRequestHitRatio().
| int StatCounters::hits_recv = 0 |
Definition at line 73 of file StatCounters.h.
Referenced by icpCount().
| int StatCounters::hits_sent = 0 |
Definition at line 72 of file StatCounters.h.
Referenced by icpCount().
| StatHist StatCounters::hitSvcTime |
Definition at line 51 of file StatCounters.h.
Referenced by GetAvgStat(), snmp_prfProtoFn(), statCountersHistograms(), statCountersInitSpecial(), and statPctileSvc().
| struct { ... } StatCounters::hitValidation |
Referenced by GetCountersStats(), and Ipc::StoreMap::validateHit().
| struct { ... } StatCounters::htcp |
Referenced by GetInfo(), htcpRecv(), and htcpSend().
| struct { ... } StatCounters::http |
| struct { ... } StatCounters::icp |
| int StatCounters::ins = 0 |
Definition at line 159 of file StatCounters.h.
Referenced by GetCountersStats(), storeSwapInFileClosed(), and storeUnregister().
| ByteCounter StatCounters::kbytes_in |
Definition at line 45 of file StatCounters.h.
Referenced by Ftp::Client::dataRead(), Server::doClientRead(), GetCountersStats(), Http::Tunneler::handleReadyRead(), TunnelStateData::readClient(), Ftp::Client::readControlReply(), WhoisState::readReply(), HttpStateData::readReply(), TunnelStateData::readServer(), Ftp::Server::readUploadData(), snmp_prfProtoFn(), and statByteHitRatio().
| ByteCounter StatCounters::kbytes_out |
Definition at line 46 of file StatCounters.h.
Referenced by ConnStateData::afterClientWrite(), GetCountersStats(), Http::Tunneler::handleWrittenRequest(), Ftp::Client::sentRequestBody(), HttpStateData::sentRequestBody(), Client::sentRequestBody(), snmp_prfProtoFn(), statByteHitRatio(), TunnelStateData::writeClientDone(), Ftp::Client::writeCommandCallback(), TunnelStateData::writeServerDone(), and HttpStateData::wroteLast().
| ByteCounter StatCounters::kbytes_recv |
Definition at line 79 of file StatCounters.h.
Referenced by GetCountersStats(), icpCount(), peerDigestFetchSetStats(), snmp_prfProtoFn(), and statByteHitRatio().
| ByteCounter StatCounters::kbytes_sent |
Definition at line 76 of file StatCounters.h.
Referenced by GetCountersStats(), icpCount(), peerDigestFetchSetStats(), and snmp_prfProtoFn().
| int StatCounters::mem_hits = 0 |
Definition at line 42 of file StatCounters.h.
Referenced by clientUpdateStatCounters(), and statRequestHitMemoryRatio().
| ByteCounter StatCounters::memory |
Definition at line 105 of file StatCounters.h.
Referenced by GetCountersStats(), and peerDigestSetCBlock().
| StatHist StatCounters::missSvcTime |
Definition at line 48 of file StatCounters.h.
Referenced by GetAvgStat(), snmp_prfProtoFn(), statCountersHistograms(), statCountersInitSpecial(), and statPctileSvc().
| int StatCounters::msgs_recv = 0 |
Definition at line 107 of file StatCounters.h.
Referenced by GetCountersStats(), and peerDigestFetchSetStats().
| int StatCounters::msgs_sent = 0 |
Definition at line 106 of file StatCounters.h.
Referenced by GetCountersStats(), and peerDigestFetchSetStats().
| StatHist StatCounters::nearHitSvcTime |
Definition at line 50 of file StatCounters.h.
Referenced by GetAvgStat(), snmp_prfProtoFn(), statCountersHistograms(), statCountersInitSpecial(), and statPctileSvc().
| StatHist StatCounters::nearMissSvcTime |
Definition at line 49 of file StatCounters.h.
Referenced by GetAvgStat(), snmp_prfProtoFn(), statCountersHistograms(), statCountersInitSpecial(), and statPctileSvc().
| struct { ... } StatCounters::netdb |
Referenced by clientUpdateHierCounters().
| StatHist StatCounters::on_xition_count |
Definition at line 111 of file StatCounters.h.
Referenced by CacheDigest::add(), and statCountersInitSpecial().
| int StatCounters::opens = 0 |
Definition at line 133 of file StatCounters.h.
Referenced by DiskThreadsDiskFile::create(), DiskdFile::createDone(), file_open(), DiskThreadsDiskFile::open(), and DiskdFile::openDone().
| struct { ... } StatCounters::other |
| int StatCounters::outs = 0 |
Definition at line 158 of file StatCounters.h.
Referenced by GetCountersStats(), and storeSwapOutFileClosed().
| int StatCounters::page_faults = 0 |
Definition at line 117 of file StatCounters.h.
Referenced by GetCountersStats(), and statAvgTick().
| int StatCounters::pkts_recv = 0 |
Definition at line 69 of file StatCounters.h.
Referenced by GetCountersStats(), GetInfo(), htcpRecv(), icpCount(), and snmp_prfProtoFn().
| int StatCounters::pkts_sent = 0 |
Definition at line 66 of file StatCounters.h.
Referenced by GetCountersStats(), GetInfo(), htcpSend(), icpCount(), and snmp_prfProtoFn().
| ByteCounter StatCounters::q_kbytes_recv |
Definition at line 80 of file StatCounters.h.
Referenced by GetCountersStats(), and icpCount().
| ByteCounter StatCounters::q_kbytes_sent |
Definition at line 77 of file StatCounters.h.
Referenced by GetCountersStats(), and icpCount().
| int StatCounters::queries_recv = 0 |
Definition at line 70 of file StatCounters.h.
Referenced by GetCountersStats(), and icpCount().
| int StatCounters::queries_sent = 0 |
Definition at line 67 of file StatCounters.h.
Referenced by GetCountersStats(), and icpCount().
| int StatCounters::query_timeouts = 0 |
Definition at line 84 of file StatCounters.h.
Referenced by clientUpdateHierCounters(), and GetCountersStats().
| StatHist StatCounters::querySvcTime |
Definition at line 82 of file StatCounters.h.
Referenced by clientUpdateHierCounters(), GetAvgStat(), snmp_prfProtoFn(), statCountersHistograms(), statCountersInitSpecial(), and statPctileSvc().
| ByteCounter StatCounters::r_kbytes_recv |
Definition at line 81 of file StatCounters.h.
Referenced by GetCountersStats(), and icpCount().
| ByteCounter StatCounters::r_kbytes_sent |
Definition at line 78 of file StatCounters.h.
Referenced by GetCountersStats(), and icpCount().
| int StatCounters::reads = 0 |
Definition at line 135 of file StatCounters.h.
Referenced by diskerRead(), diskHandleRead(), DiskThreadsDiskFile::read(), DiskdFile::readDone(), Comm::ReadNow(), and storeRebuildLoadEntry().
| int StatCounters::recvfroms = 0 |
Definition at line 149 of file StatCounters.h.
Referenced by comm_udp_recvfrom().
| uint64_t StatCounters::refusalsDueToLocking = 0 |
Definition at line 164 of file StatCounters.h.
Referenced by GetCountersStats(), and Ipc::StoreMap::validateHit().
| uint64_t StatCounters::refusalsDueToTimeLimit = 0 |
Definition at line 166 of file StatCounters.h.
Referenced by GetCountersStats(), and Ipc::StoreMap::validateHit().
| uint64_t StatCounters::refusalsDueToZeroSize = 0 |
Definition at line 165 of file StatCounters.h.
Referenced by GetCountersStats(), and Ipc::StoreMap::validateHit().
| int StatCounters::replies_dropped = 0 |
Definition at line 75 of file StatCounters.h.
Referenced by icpUdpSend().
| int StatCounters::replies_queued = 0 |
Definition at line 74 of file StatCounters.h.
Referenced by GetCountersStats(), GetInfo(), and icpUdpSend().
| int StatCounters::replies_recv = 0 |
Definition at line 71 of file StatCounters.h.
Referenced by GetCountersStats(), and icpCount().
| int StatCounters::replies_sent = 0 |
Definition at line 68 of file StatCounters.h.
Referenced by GetCountersStats(), and icpCount().
| StatHist StatCounters::replySvcTime |
Definition at line 83 of file StatCounters.h.
Referenced by GetAvgStat(), icpCount(), snmp_prfProtoFn(), statCountersHistograms(), and statCountersInitSpecial().
| int StatCounters::requests = 0 |
Definition at line 40 of file StatCounters.h.
Referenced by Ftp::Client::Client(), clientUpdateStatCounters(), SignalEngine::doShutdown(), GetCountersStats(), GetInfo(), snmp_prfProtoFn(), snmp_prfSysFn(), HttpStateData::start(), statRequestHitRatio(), statSawRecentRequests(), switchToTunnel(), tunnelStart(), and unlinkdUnlink().
| int StatCounters::seeks = 0 |
Definition at line 137 of file StatCounters.h.
Referenced by diskHandleRead().
| int StatCounters::select_fds = 0 |
Definition at line 119 of file StatCounters.h.
Referenced by Comm::DoSelect(), and GetAvgStat().
| StatHist StatCounters::select_fds_hist |
Definition at line 129 of file StatCounters.h.
Referenced by commIncomingStats(), commIncomingStats(), Comm::DoSelect(), GetAvgStat(), statCountersHistograms(), and statCountersInitSpecial().
| unsigned long int StatCounters::select_loops = 0 |
Definition at line 118 of file StatCounters.h.
Referenced by commIncomingStats(), commIncomingStats(), Comm::DoSelect(), GetCountersStats(), and GetInfo().
| double StatCounters::select_time = 0.0 |
Definition at line 120 of file StatCounters.h.
Referenced by GetAvgStat().
| int StatCounters::selects = 0 |
Definition at line 152 of file StatCounters.h.
Referenced by comm_check_incoming_poll_handlers(), comm_check_incoming_select_handlers(), and examine_select().
| int StatCounters::sendtos = 0 |
Definition at line 150 of file StatCounters.h.
Referenced by comm_udp_sendto().
| struct { ... } StatCounters::server |
Referenced by Ftp::Client::Client(), Ftp::Client::dataRead(), GetCountersStats(), Http::Tunneler::handleReadyRead(), Http::Tunneler::handleWrittenRequest(), Ftp::Client::readControlReply(), WhoisState::readReply(), HttpStateData::readReply(), TunnelStateData::readServer(), Ftp::Client::sentRequestBody(), HttpStateData::sentRequestBody(), Client::sentRequestBody(), snmp_prfProtoFn(), HttpStateData::start(), statByteHitRatio(), switchToTunnel(), tunnelStart(), Ftp::Client::writeCommandCallback(), TunnelStateData::writeServerDone(), and HttpStateData::wroteLast().
| struct { ... } StatCounters::sock |
| int StatCounters::sockets = 0 |
Definition at line 143 of file StatCounters.h.
Referenced by comm_open_uds(), and comm_openex().
| StatHist StatCounters::svcTime |
Definition at line 98 of file StatCounters.h.
Referenced by fqdncacheHandleReply(), GetAvgStat(), ipcacheHandleReply(), snmp_prfProtoFn(), statCountersHistograms(), statCountersInitSpecial(), and statPctileSvc().
| struct { ... } StatCounters::swap |
| struct { ... } StatCounters::syscalls |
Referenced by Comm::TcpAcceptor::acceptInto(), DiskdFile::closeDone(), comm_check_incoming_poll_handlers(), comm_check_incoming_select_handlers(), comm_close_complete(), comm_connect_addr(), comm_open_uds(), comm_openex(), comm_udp_recvfrom(), comm_udp_sendto(), commBind(), DiskThreadsDiskFile::create(), DiskdFile::createDone(), diskerRead(), diskerWriteAttempts(), diskHandleRead(), diskHandleWrite(), DiskThreadsDiskFile::doClose(), examine_select(), file_close(), file_open(), DiskThreadsDiskFile::open(), DiskdFile::openDone(), DiskThreadsDiskFile::read(), DiskdFile::readDone(), Comm::ReadNow(), safeunlink(), storeRebuildLoadEntry(), DiskdIOStrategy::unlinkDone(), unlinkdUnlink(), DiskThreadsIOStrategy::unlinkFile(), DiskThreadsDiskFile::write(), and DiskdFile::writeDone().
| int StatCounters::times_used = 0 |
Definition at line 85 of file StatCounters.h.
Referenced by clientUpdateHierCounters(), GetCountersStats(), and statPeerSelect().
| struct timeval StatCounters::timestamp |
Definition at line 123 of file StatCounters.h.
Referenced by GetAvgStat(), GetCountersStats(), and statAvgTick().
| struct { ... } StatCounters::unlink |
Referenced by GetCountersStats(), GetInfo(), snmp_prfSysFn(), and unlinkdUnlink().
| int StatCounters::unlinks = 0 |
Definition at line 138 of file StatCounters.h.
Referenced by safeunlink(), DiskdIOStrategy::unlinkDone(), unlinkdUnlink(), and DiskThreadsIOStrategy::unlinkFile().
| int StatCounters::writes = 0 |
Definition at line 136 of file StatCounters.h.
Referenced by diskerWriteAttempts(), diskHandleWrite(), DiskThreadsDiskFile::write(), and DiskdFile::writeDone().