Classes | |
class | pingStats_ |
measurements collected by the squidclient ping mode logics More... | |
class | TheConfig |
parameters controlling 'ping' mode message looping. More... | |
Functions | |
uint32_t | Init () |
initialize the squidclient ping mode More... | |
bool | LoopDone (int i) |
whether ping loop is completed at the given iteration. More... | |
void | TimerStart () |
start timing a new transaction More... | |
void | TimerStop (size_t fsize) |
void | DisplayStats () |
display summary of ping data collected More... | |
Variables | |
Ping::TheConfig | Config |
class Ping::pingStats_ | stats |
Detailed Description
API for looping the squidclient request message repeatedly.
Function Documentation
◆ DisplayStats()
void Ping::DisplayStats | ( | ) |
Definition at line 141 of file Ping.cc.
References Config, Ping::pingStats_::counted, Ping::pingStats_::pMax, Ping::pingStats_::pMin, stats, and Ping::pingStats_::sum.
Referenced by catchSignal(), and main().
◆ Init()
uint32_t Ping::Init | ( | void | ) |
Definition at line 54 of file Ping.cc.
References catchSignal(), Config, Ping::TheConfig::count, and int.
Referenced by main().
◆ LoopDone()
|
inline |
Definition at line 45 of file Ping.h.
References Config, Ping::TheConfig::count, and Ping::TheConfig::enable.
Referenced by main(), and TimerStop().
◆ TimerStart()
void Ping::TimerStart | ( | ) |
◆ TimerStop()
void Ping::TimerStop | ( | size_t | fsize | ) |
calculate and display the statistics for a complete transaction
- Parameters
-
fsize number of bytes transferred during this transaction (for KB/s measure)
Definition at line 92 of file Ping.cc.
References Config, Ping::pingStats_::counted, Ping::TheConfig::interval, LoopDone(), Ping::pingStats_::pMax, Ping::pingStats_::pMin, stats, Ping::pingStats_::sum, tv2, and tvSubMsec().
Referenced by main().
Variable Documentation
◆ Config
TheConfig Ping::Config |
Definition at line 24 of file Ping.cc.
Referenced by catchSignal(), DisplayStats(), Init(), LoopDone(), main(), TimerStart(), TimerStop(), and usage().
◆ stats
class Ping::pingStats_ Ping::stats |
Referenced by Helper::Client::~Client(), cacheDigestGuessStatsReport(), cacheDigestGuessStatsUpdate(), cacheDigestReport(), cacheDigestStats(), cacheQueryReport(), Helper::Session::checkForTimedOutRequests(), helper_stateful_server::clearReservation(), collectMemBlobDestructTimeStats(), collectSBufDestructTimeStats(), DisplayStats(), DumpAvgStat(), DumpCountersStats(), DumpInfo(), DumpIoStats(), DumpServiceTimesStats(), GetAvgStat(), GetCountersStats(), GetInfo(), GetIoStats(), GetServiceTimesStats(), MemPoolChunked::getStats(), MemPoolMalloc::getStats(), Mem::AllocatorProxy::getStats(), MemStore::getStats(), Store::Controller::getStats(), Store::Disk::getStats(), Store::Disks::getStats(), Transients::getStats(), Mem::GlobalStats(), httpHeaderStoreReport(), makeDestructTimeHist(), memClean(), Helper::Client::nextRequest(), Mgr::CountersActionData::operator+=(), DiskdActionData::operator+=(), Mgr::InfoActionData::operator+=(), Mgr::IntervalActionData::operator+=(), Mgr::IoActionData::operator+=(), Mgr::ServiceTimesActionData::operator+=(), StoreInfoStats::operator+=(), Mgr::StoreIoActionData::operator+=(), Helper::Client::overloaded(), Helper::Client::packStatsInto(), Helper::Client::queueFull(), snmp_prfSysFn(), Rock::Rebuild::Start(), MemStore::stat(), statAvgDump(), statCountersDump(), Rock::SwapDir::statfs(), storeRebuildParseEntry(), TimerStop(), Ipc::MemMap::updateStats(), Ipc::ReadWriteLock::updateStats(), Ipc::StoreMap::updateStats(), and CacheDigest::usedMaskPercent().