StatHist.cc File Reference
#include "squid.h"
#include "StatHist.h"
#include <cmath>
Include dependency graph for StatHist.cc:

Go to the source code of this file.

Namespaces

namespace  Math
 

Functions

double statHistDeltaMedian (const StatHist &A, const StatHist &B)
 
double statHistDeltaPctile (const StatHist &A, const StatHist &B, double pctile)
 
static void statHistBinDumper (StoreEntry *sentry, int idx, double val, double size, int count)
 
void statHistEnumDumper (StoreEntry *sentry, int idx, double val, double, int count)
 
void statHistIntDumper (StoreEntry *sentry, int, double val, double, int count)
 

Variables

static StatHistBinDumper statHistBinDumper
 
hbase_f Math::Log
 
hbase_f Math::Exp
 
hbase_f Math::Null
 

Function Documentation

◆ statHistBinDumper()

static void statHistBinDumper ( StoreEntry sentry,
int  idx,
double  val,
double  size,
int  count 
)
static

Definition at line 163 of file StatHist.cc.

References size, and storeAppendPrintf().

◆ statHistDeltaMedian()

double statHistDeltaMedian ( const StatHist A,
const StatHist B 
)

Definition at line 91 of file StatHist.cc.

References A, B, and statHistDeltaPctile().

Referenced by GetAvgStat(), and snmp_prfProtoFn().

◆ statHistDeltaPctile()

double statHistDeltaPctile ( const StatHist A,
const StatHist B,
double  pctile 
)

Definition at line 97 of file StatHist.cc.

References A, and B.

Referenced by statHistDeltaMedian(), and statPctileSvc().

◆ statHistEnumDumper()

void statHistEnumDumper ( StoreEntry sentry,
int  idx,
double  val,
double  ,
int  count 
)

Definition at line 241 of file StatHist.cc.

References storeAppendPrintf().

◆ statHistIntDumper()

void statHistIntDumper ( StoreEntry sentry,
int  ,
double  val,
double  ,
int  count 
)

Definition at line 249 of file StatHist.cc.

References storeAppendPrintf().

Variable Documentation

◆ statHistBinDumper

StatHistBinDumper statHistBinDumper
static

Definition at line 15 of file StatHist.cc.

Referenced by StatHist::dump().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors