Go to the source code of this file.
Classes | |
class | CacheDigest |
Functions | |
void | cacheDigestGuessStatsUpdate (CacheDigestGuessStats *stats, int real_hit, int guess_hit) |
void | cacheDigestGuessStatsReport (const CacheDigestGuessStats *stats, StoreEntry *sentry, const SBuf &label) |
void | cacheDigestReport (CacheDigest *cd, const SBuf &label, StoreEntry *e) |
Function Documentation
◆ cacheDigestGuessStatsReport()
void cacheDigestGuessStatsReport | ( | const CacheDigestGuessStats * | stats, |
StoreEntry * | sentry, | ||
const SBuf & | label | ||
) |
Definition at line 209 of file CacheDigest.cc.
References assert, SBuf::isEmpty(), SQUIDSBUFPH, SQUIDSBUFPRINT, Ping::stats, storeAppendPrintf(), xpercent(), and xpercentInt().
Referenced by peerDigestStatsReport(), and statPeerSelect().
◆ cacheDigestGuessStatsUpdate()
void cacheDigestGuessStatsUpdate | ( | CacheDigestGuessStats * | stats, |
int | real_hit, | ||
int | guess_hit | ||
) |
Definition at line 191 of file CacheDigest.cc.
References assert, and Ping::stats.
◆ cacheDigestReport()
void cacheDigestReport | ( | CacheDigest * | cd, |
const SBuf & | label, | ||
StoreEntry * | e | ||
) |
Definition at line 245 of file CacheDigest.cc.
References assert, CacheDigest::bits_per_entry, cacheDigestStats(), CacheDigest::capacity, CacheDigest::count, CacheDigest::del_count, PRIu64, SQUIDSBUFPH, SQUIDSBUFPRINT, Ping::stats, storeAppendPrintf(), xdiv(), and xpercentInt().
Referenced by peerDigestStatsReport(), and storeDigestReport().