#include "squid.h"
#include "base/LookupTable.h"
#include "HttpHdrScTarget.h"
#include "HttpHeader.h"
#include "HttpHeaderFieldStat.h"
#include "HttpHeaderStat.h"
#include "HttpHeaderTools.h"
#include "Store.h"
#include "StrList.h"
#include "util.h"
#include <map>
#include <vector>
Go to the source code of this file.
Functions | |
std::vector< HttpHeaderFieldStat > | scHeaderStats (SC_ENUM_END) |
http_hdr_sc_type & | operator++ (http_hdr_sc_type &aHeader) |
void | httpHdrScInitModule (void) |
HttpHdrSc * | httpHdrScParseCreate (const String &str) |
void | httpHdrScTargetStatDumper (StoreEntry *sentry, int, double val, double, int count) |
void | httpHdrScStatDumper (StoreEntry *sentry, int, double val, double, int count) |
Variables | |
static const LookupTable< http_hdr_sc_type >::Record | ScAttrs [] |
LookupTable< http_hdr_sc_type > | scLookupTable (SC_ENUM_END, ScAttrs) |
Function Documentation
◆ httpHdrScInitModule()
void httpHdrScInitModule | ( | void | ) |
Definition at line 49 of file HttpHdrSc.cc.
References assert, and ScAttrs.
Referenced by httpHeaderInitModule().
◆ httpHdrScParseCreate()
◆ httpHdrScStatDumper()
void httpHdrScStatDumper | ( | StoreEntry * | sentry, |
int | idx, | ||
double | val, | ||
double | size, | ||
int | count | ||
) |
Definition at line 270 of file HttpHdrSc.cc.
References dump_stat, int, SC_ENUM_END, ScAttrs, HttpHeaderStat::scParsedCount, storeAppendPrintf(), and xdiv().
Referenced by httpHeaderStatDump().
◆ httpHdrScTargetStatDumper()
void httpHdrScTargetStatDumper | ( | StoreEntry * | sentry, |
int | idx, | ||
double | val, | ||
double | size, | ||
int | count | ||
) |
Definition at line 257 of file HttpHdrSc.cc.
References dump_stat, int, SC_ENUM_END, ScAttrs, HttpHeaderStat::scParsedCount, storeAppendPrintf(), and xdiv().
◆ operator++()
http_hdr_sc_type & operator++ | ( | http_hdr_sc_type & | aHeader | ) |
Definition at line 41 of file HttpHdrSc.cc.
◆ scHeaderStats()
std::vector< HttpHeaderFieldStat > scHeaderStats | ( | SC_ENUM_END | ) |
Referenced by HttpHdrSc::parse().
Variable Documentation
◆ ScAttrs
|
static |
Definition at line 29 of file HttpHdrSc.cc.
Referenced by httpHdrScInitModule(), httpHdrScStatDumper(), httpHdrScTargetStatDumper(), and HttpHdrScTarget::packInto().
◆ scLookupTable
LookupTable< http_hdr_sc_type > scLookupTable(SC_ENUM_END, ScAttrs) | ( | SC_ENUM_END | , |
ScAttrs | |||
) |
Referenced by HttpHdrSc::parse().