event.cc File Reference
#include "squid.h"
#include "event.h"
#include "mgr/Registration.h"
#include "profiler/Profiler.h"
#include "SquidTime.h"
#include "Store.h"
#include "tools.h"
#include <cmath>
#include <random>
Include dependency graph for event.cc:

Go to the source code of this file.

Classes

class  EventDialer
 

Functions

void eventAdd (const char *name, EVH *func, void *arg, double when, int weight, bool cbdata)
 
void eventAddIsh (const char *name, EVH *func, void *arg, double delta_ish, int weight)
 
void eventDelete (EVH *func, void *arg)
 
void eventInit (void)
 
static void eventDump (StoreEntry *sentry)
 
void eventFreeMemory (void)
 
int eventFind (EVH *func, void *arg)
 

Variables

static OBJH eventDump
 
static const char * last_event_ran = NULL
 

Function Documentation

void eventAdd ( const char *  name,
EVH func,
void *  arg,
double  when,
int  weight,
bool  cbdata 
)

Definition at line 109 of file event.cc.

Referenced by StoreEntry::abort(), authenticateDigestNonceCacheCleanup(), authenticateDigestNonceSetup(), Rock::Rebuild::checkpoint(), Mem::CleanIdlePools(), clientdbAdd(), clientdbGC(), commPlanHalfClosedCheck(), Log::TcpLogger::connectDone(), TunnelStateData::copyRead(), IpcIoFile::DiskerHandleRequests(), SignalEngine::doShutdown(), eventAddIsh(), SignalEngine::FinalShutdownRunners(), fqdncache_purgelru(), idnsTickleQueue(), Fs::Ufs::UFSSwapDir::init(), DelayPools::InitDelayData(), Ipc::Inquirer::inquire(), ipcache_purgelru(), ClientInfo::kickQuotaQueue(), logfile_mod_daemon_open(), logfileFlushEvent(), mainInitialize(), mainReconfigureFinish(), mainReconfigureStart(), Store::Maintain(), IpcIoFile::open(), peerClearRRLoop(), peerCountMcastPeersSchedule(), peerCountMcastPeersStart(), peerDigestSetCheck(), peerGetSomeNeighbor(), Fs::Ufs::UFSSwapDir::rebuild(), Comm::ConnOpener::retrySleep(), Auth::CredentialsCache::scheduleCleanup(), IpcIoFile::scheduleTimeoutCheck(), Adaptation::Icap::ServiceRep::scheduleUpdate(), Ipc::Forwarder::start(), start_announce(), Ipc::UdsSender::startSleep(), statAvgTick(), statInit(), statObjects(), statObjectsStart(), storeCleanup(), storeClientCopy2(), storeDigestRebuildFinish(), storeDigestRebuildResume(), storeDigestRebuildStep(), storeDigestRewriteFinish(), storeDigestRewriteResume(), storeDigestSwapOutStep(), storeInit(), storeLateRelease(), storeRebuildComplete(), DelayPools::Update(), IpcIoFile::WaitBeforePop(), wccp2HandleUdp(), wccp2HereIam(), wccp2Init(), wccpHereIam(), wccpInit(), and xprof_event().

void eventAddIsh ( const char *  name,
EVH func,
void *  arg,
double  delta_ish,
int  weight 
)

Definition at line 116 of file event.cc.

References eventAdd().

Referenced by netdbInit(), netdbSaveState(), peerDNSConfigure(), and peerRefreshDNS().

static void eventDump ( StoreEntry sentry)
static

Definition at line 143 of file event.cc.

References EventScheduler::dump(), and EventScheduler::GetInstance().

void eventFreeMemory ( void  )

Definition at line 149 of file event.cc.

References EventScheduler::clean(), and EventScheduler::GetInstance().

Referenced by SquidShutdown().

void eventInit ( void  )

Definition at line 137 of file event.cc.

References eventDump, and Mgr::RegisterAction().

Referenced by mainInitialize().

Variable Documentation

OBJH eventDump
static

Definition at line 24 of file event.cc.

Referenced by eventInit().

const char* last_event_ran = NULL
static

Definition at line 25 of file event.cc.

Referenced by EventScheduler::checkEvents(), and EventScheduler::dump().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors