CacheDigest.cc File Reference
#include "squid.h"
#include "md5.h"
#include "StatCounters.h"
#include "Store.h"
#include "store_key_md5.h"
#include "CacheDigest.h"
#include "util.h"
Include dependency graph for CacheDigest.cc:

Go to the source code of this file.

Classes

struct  CacheDigestStats
 

Functions

static void cacheDigestHashKey (const CacheDigest *cd, const cache_key *key)
 
static void cacheDigestStats (const CacheDigest *cd, CacheDigestStats *stats)
 
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)
 

Variables

static uint32_t hashed_keys [4]
 

Function Documentation

◆ cacheDigestGuessStatsReport()

void cacheDigestGuessStatsReport ( const CacheDigestGuessStats stats,
StoreEntry sentry,
const SBuf label 
)

◆ cacheDigestGuessStatsUpdate()

void cacheDigestGuessStatsUpdate ( CacheDigestGuessStats stats,
int  real_hit,
int  guess_hit 
)

Definition at line 191 of file CacheDigest.cc.

References assert, and Ping::stats.

◆ cacheDigestHashKey()

static void cacheDigestHashKey ( const CacheDigest cd,
const cache_key key 
)
static

Definition at line 281 of file CacheDigest.cc.

References debugs, hashed_keys, CacheDigest::mask_size, and storeKeyText().

Referenced by CacheDigest::add(), and CacheDigest::contains().

◆ cacheDigestReport()

◆ cacheDigestStats()

static void cacheDigestStats ( const CacheDigest cd,
CacheDigestStats stats 
)
static

Variable Documentation

◆ hashed_keys

uint32_t hashed_keys[4]
static

Definition at line 35 of file CacheDigest.cc.

Referenced by CacheDigest::add(), cacheDigestHashKey(), and CacheDigest::contains().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors