Pool.cc File Reference
#include "squid.h"
#include "mem/PoolChunked.h"
#include "mem/PoolMalloc.h"
#include <cassert>
#include <cstring>
Include dependency graph for Pool.cc:

Go to the source code of this file.

Macros

#define FLUSH_LIMIT   1000 /* Flush memPool counters to memMeters after flush limit calls */
 

Functions

MemPoolIteratormemPoolIterate (void)
 
void memPoolIterateDone (MemPoolIterator **iter)
 
MemImplementingAllocatormemPoolIterateNext (MemPoolIterator *iter)
 
int memPoolGetGlobalStats (MemPoolGlobalStats *stats)
 
int memPoolsTotalAllocated (void)
 

Variables

time_t squid_curtime
 
static MemPoolMeter TheMeter
 
static MemPoolIterator Iterator
 
static int Pool_id_counter = 0
 
static MemPoolStats pp_stats
 

Macro Definition Documentation

#define FLUSH_LIMIT   1000 /* Flush memPool counters to memMeters after flush limit calls */

Definition at line 21 of file Pool.cc.

Referenced by MemImplementingAllocator::alloc().

Variable Documentation

int Pool_id_counter = 0
static
MemPoolStats pp_stats
static

Definition at line 244 of file Pool.cc.

time_t squid_curtime

Definition at line 17 of file stub_time.cc.

Referenced by Auth::User::absorb(), addedEntry(), Auth::User::addIp(), StoreEntry::adjustVary(), AlreadyTimedOut(), Format::Format::assemble(), clientReplyContext::buildReplyHeader(), Downloader::buildRequest(), Adaptation::Icap::ServiceRep::changeOptions(), HttpStateData::checkDateSkew(), CommSelectEngine::checkEvents(), checkFailureRatio(), Mem::Meter::checkHighWater(), StoreEntry::checkNegativeHit(), Adaptation::Icap::ServiceRep::checkOptions(), clientdbCutoffDenied(), clientdbGC(), clientdbUpdate(), commSetConnTimeout(), Adaptation::Icap::Options::configure(), ErrorState::Convert(), testRock::createEntry(), Comm::ConnOpener::createFd(), Auth::User::CredentialsCacheStats(), death(), Kid::deathDuration(), LeakFinder::dump(), ErrorState::Dump(), dump_peers(), fde::dumpStats(), Enqueue(), LruMap< Key, EntryValue, EntryCost >::expired(), StoreEntry::expireNow(), expiresMoreThan(), external_acl_entry_expired(), external_acl_grace_expired(), fdAdjustReserved(), Mgr::Action::fillEntry(), FwdState::ForwardTimeout(), fqdncache_gethostbyaddr(), fqdncacheAddEntry(), fqdncacheCallback(), fqdncacheExpiredEntry(), fqdncacheParse(), fqdnStats(), Adaptation::Icap::Options::fresh(), get_session_cb(), gopherHTMLFooter(), PeerPoolMgr::handleOpenedConnection(), HttpReply::hdrExpirationTime(), HeapKeyGen_StoreEntry_LFUDA(), helperOpenServers(), helperServerFree(), helperStatefulOpenServers(), helperStatefulServerFree(), htcpTstReply(), Log::Format::HttpdCombined(), Log::Format::HttpdCommon(), Ftp::HttpReplyWrapper(), icpGetCommonOpcode(), idnsRead(), internalStart(), ipcache_entry::ipcache_entry(), ipcache_gethostbyname(), ipcacheAddEntry(), ipcacheCallback(), ipcacheExpiredEntry(), ipcacheHandleReply(), ipcacheInvalidate(), ipcacheInvalidateNegative(), ipcacheStatPrint(), Comm::Connection::lifeTime(), logfile_mod_daemon_writeline(), Ip::Intercept::Lookup(), lru_stats(), main(), Store::Controller::maintain(), Fs::Ufs::UFSSwapDir::maintain(), Adaptation::Icap::ModXact::makeRequestHeaders(), ACLTimeStrategy::match(), StoreEntry::negativeCache(), neighborsUdpPing(), neighborUp(), netdbBinaryExchange(), netdbClosestParent(), netdbExchangeUpdatePeer(), netdbHostData(), netdbHostHops(), netdbHostRtt(), netdbPingSite(), netdbSendPing(), netdbUpdatePeer(), Ip::Intercept::NetfilterInterception(), Comm::Connection::noteStart(), Comm::TcpAcceptor::okToAccept(), Adaptation::Icap::ServiceRep::optionsFetchTime(), peerAlive(), peerConnectFailedSilent(), peerDigestCheck(), peerDigestFetchReply(), peerDigestFetchSetStats(), peerDigestInit(), peerDigestNeeded(), peerDigestNewDelay(), peerDigestPDFinish(), peerDigestRequest(), peerDigestSetCheck(), peerProbeConnect(), peerProbeIsBusy(), peerWouldBePinged(), Ip::Intercept::PfInterception(), Mem::PoolReport(), helper::prepSubmit(), ClientInfo::quota(), HttpReply::redirect(), MessageDelayPool::refillBucket(), refreshCheck(), helper_server::requestTimeout(), FwdState::retryOrBail(), saneDiff(), Adaptation::Icap::ServiceRep::scheduleUpdate(), send_announce(), Mgr::Forwarder::sendError(), HttpReply::setHeaders(), Security::PeerConnector::setReadTimeout(), Comm::SetSelect(), squidaio_queue_request(), Log::Format::SquidUserAgent(), Kid::start(), Mgr::Inquirer::start(), CacheManager::Start(), StatefulEnqueue(), Kid::stop(), store_session_cb(), storeCreatePureEntry(), storeDigestCalcCap(), storeDigestRewriteFinish(), storeDigestRewriteResume(), storeGetMemSpace(), storeRebuildProgress(), Adaptation::Icap::ServiceRep::suspend(), DiskdIOStrategy::sync(), helper::syncQueueStats(), testUfs::testUfsSearch(), Helper::Request::timedOut(), StoreEntry::timestampsSet(), LeakFinder::touch(), StoreEntry::touch(), clientReplyContext::traceReply(), DelayPools::Update(), ExternalACLEntry::update(), ipcache_entry::updateTtl(), urnHandleReply(), StoreEntry::validToSend(), Comm::Write(), and writeTimedOut().

MemPoolMeter TheMeter
static

Definition at line 25 of file Pool.cc.

Referenced by memPoolGetGlobalStats().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors