SBufStatsAction.cc File Reference
#include "squid.h"
#include "base/PackableStream.h"
#include "ipc/Messages.h"
#include "ipc/TypedMsgHdr.h"
#include "mgr/Registration.h"
#include "sbuf/Stats.h"
#include "SBufStatsAction.h"
Include dependency graph for SBufStatsAction.cc:

Go to the source code of this file.

Functions

static StatHistmakeDestructTimeHist ()
 creates a new size-at-destruct-time histogram More...
 
static StatHistcollectSBufDestructTimeStats ()
 the SBuf size-at-destruct-time histogram More...
 
static StatHistcollectMemBlobDestructTimeStats ()
 the MemBlob size-at-destruct-time histogram More...
 
static void recordSBufSizeAtDestruct (const size_t sz)
 record the size an SBuf had when it was destructed More...
 
static void recordMemBlobSizeAtDestruct (const size_t sz)
 record the size a MemBlob had when it was destructed More...
 
static void statHistSBufDumper (StoreEntry *sentry, int, double val, double size, int count)
 

Function Documentation

◆ collectMemBlobDestructTimeStats()

static StatHist& collectMemBlobDestructTimeStats ( )
static

Definition at line 35 of file SBufStatsAction.cc.

References makeDestructTimeHist(), and Ping::stats.

Referenced by SBufStatsAction::collect(), and recordMemBlobSizeAtDestruct().

◆ collectSBufDestructTimeStats()

static StatHist& collectSBufDestructTimeStats ( )
static

Definition at line 27 of file SBufStatsAction.cc.

References makeDestructTimeHist(), and Ping::stats.

Referenced by SBufStatsAction::collect(), and recordSBufSizeAtDestruct().

◆ makeDestructTimeHist()

static StatHist* makeDestructTimeHist ( )
static

Definition at line 19 of file SBufStatsAction.cc.

References Ping::stats.

Referenced by collectMemBlobDestructTimeStats(), and collectSBufDestructTimeStats().

◆ recordMemBlobSizeAtDestruct()

static void recordMemBlobSizeAtDestruct ( const size_t  sz)
static

◆ recordSBufSizeAtDestruct()

static void recordSBufSizeAtDestruct ( const size_t  sz)
static

◆ statHistSBufDumper()

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

Definition at line 84 of file SBufStatsAction.cc.

References size, and storeAppendPrintf().

Referenced by SBufStatsAction::dump().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors