#include "squid.h"
#include "base/LookupTable.h"
#include "HttpHdrCc.h"
#include "HttpHeader.h"
#include "HttpHeaderFieldStat.h"
#include "HttpHeaderStat.h"
#include "HttpHeaderTools.h"
#include "sbuf/SBuf.h"
#include "StatHist.h"
#include "Store.h"
#include "StrList.h"
#include "util.h"
#include <map>
#include <vector>
#include <ostream>
Go to the source code of this file.
Functions | |
std::vector< HttpHeaderFieldStat > | ccHeaderStats (HttpHdrCcType::CC_ENUM_END) |
static HttpHdrCcType & | operator++ (HttpHdrCcType &aHeader) |
used to walk a table of http_header_cc_type structs More... | |
void | httpHdrCcInitModule (void) |
Module initialization hook. More... | |
void | httpHdrCcUpdateStats (const HttpHdrCc *cc, StatHist *hist) |
void | httpHdrCcStatDumper (StoreEntry *sentry, int, double val, double, int count) |
std::ostream & | operator<< (std::ostream &s, HttpHdrCcType c) |
Variables | |
static LookupTable< HttpHdrCcType >::Record | CcAttrs [] |
LookupTable< HttpHdrCcType > | ccLookupTable (HttpHdrCcType::CC_OTHER, CcAttrs) |
Function Documentation
◆ ccHeaderStats()
std::vector< HttpHeaderFieldStat > ccHeaderStats | ( | HttpHdrCcType::CC_ENUM_END | ) |
Referenced by HttpHdrCc::parse().
◆ httpHdrCcInitModule()
void httpHdrCcInitModule | ( | void | ) |
Definition at line 61 of file HttpHdrCc.cc.
References assert, and CcAttrs.
Referenced by httpHeaderInitModule().
◆ httpHdrCcStatDumper()
void httpHdrCcStatDumper | ( | StoreEntry * | sentry, |
int | idx, | ||
double | val, | ||
double | size, | ||
int | count | ||
) |
Definition at line 331 of file HttpHdrCc.cc.
References CC_ENUM_END, CcAttrs, HttpHeaderStat::ccParsedCount, dump_stat, storeAppendPrintf(), and xdiv().
Referenced by httpHeaderStatDump().
◆ httpHdrCcUpdateStats()
Definition at line 321 of file HttpHdrCc.cc.
References assert, CC_ENUM_END, CC_PUBLIC, StatHist::count(), and HttpHdrCc::isSet().
Referenced by HttpHeader::getCc().
◆ operator++()
|
static |
Definition at line 52 of file HttpHdrCc.cc.
References int.
◆ operator<<()
std::ostream & operator<< | ( | std::ostream & | s, |
HttpHdrCcType | c | ||
) |
Definition at line 343 of file HttpHdrCc.cc.
References CC_ENUM_END, and CcAttrs.
Variable Documentation
◆ CcAttrs
|
static |
Definition at line 29 of file HttpHdrCc.cc.
Referenced by httpHdrCcInitModule(), httpHdrCcStatDumper(), operator<<(), and HttpHdrCc::packInto().
◆ ccLookupTable
LookupTable< HttpHdrCcType > ccLookupTable(HttpHdrCcType::CC_OTHER, CcAttrs) | ( | HttpHdrCcType::CC_OTHER | , |
CcAttrs | |||
) |
Referenced by HttpHdrCc::parse().