CacheDigest.cc
Go to the documentation of this file.
209cacheDigestGuessStatsReport(const CacheDigestGuessStats * stats, StoreEntry * sentry, const SBuf &label)
221 storeAppendPrintf(sentry, "no guess stats for " SQUIDSBUFPH " available\n", SQUIDSBUFPRINT(label));
225 storeAppendPrintf(sentry, "Digest guesses stats for " SQUIDSBUFPH ":\n", SQUIDSBUFPRINT(label));
240 storeAppendPrintf(sentry, "\tclose_hits: %d ( %d%%) /* cd said hit, doc was in the peer cache, but we got a miss */\n",
void cacheDigestGuessStatsReport(const CacheDigestGuessStats *stats, StoreEntry *sentry, const SBuf &label)
Definition: CacheDigest.cc:209
void cacheDigestGuessStatsUpdate(CacheDigestGuessStats *stats, int real_hit, int guess_hit)
Definition: CacheDigest.cc:191
static void cacheDigestStats(const CacheDigest *cd, CacheDigestStats *stats)
Definition: CacheDigest.cc:149
void cacheDigestReport(CacheDigest *cd, const SBuf &label, StoreEntry *e)
Definition: CacheDigest.cc:245
static void cacheDigestHashKey(const CacheDigest *cd, const cache_key *key)
Definition: CacheDigest.cc:281
Definition: StatCounters.h:18
Definition: CacheDigest.h:21
void updateCapacity(uint64_t newCapacity)
changes mask size to fit newCapacity, resets bits to 0
Definition: CacheDigest.cc:86
static uint32_t CalcMaskSize(uint64_t cap, uint8_t bpe)
Definition: CacheDigest.cc:273
CacheDigest * clone() const
produce a new identical copy of the digest object
Definition: CacheDigest.cc:68
struct StatCounters::@128 cd
Definition: Store.h:42
class Ping::pingStats_ stats
Definition: CacheDigest.cc:24