SBufStatsAction.cc
Go to the documentation of this file.
88 storeAppendPrintf(sentry, "\t%d-%d\t%d\n", static_cast<int>(val), static_cast<int>(val+size), count);
void add(const Mgr::Action &action) override
incrementally merge in remote information (of the same action type)
Definition: SBufStatsAction.cc:66
static StatHist & collectMemBlobDestructTimeStats()
the MemBlob size-at-destruct-time histogram
Definition: SBufStatsAction.cc:35
Definition: StatHist.h:25
Definition: PackableStream.h:75
static Pointer Create(const Mgr::CommandPointer &cmd)
Mgr::ClassActionCreationHandler for Mgr::RegisterAction()
Definition: SBufStatsAction.cc:60
static void RegisterWithCacheManager(void)
Definition: SBufStatsAction.cc:124
static void recordSBufSizeAtDestruct(const size_t sz)
record the size an SBuf had when it was destructed
Definition: SBufStatsAction.cc:43
static void recordMemBlobSizeAtDestruct(const size_t sz)
record the size a MemBlob had when it was destructed
Definition: SBufStatsAction.cc:50
void collect() override
calculate and keep local action-specific information
Definition: SBufStatsAction.cc:75
SBufStatsAction(const Mgr::CommandPointer &cmd)
Definition: SBufStatsAction.cc:55
static StatHist * makeDestructTimeHist()
creates a new size-at-destruct-time histogram
Definition: SBufStatsAction.cc:19
static const MemBlobStats & GetStats()
obtain a const view of class-wide statistics
Definition: MemBlob.cc:53
static SizeRecorder SBufSizeAtDestructRecorder
collects statistics about SBuf sizes at SBuf destruction time
Definition: Stats.h:64
void unpack(const Ipc::TypedMsgHdr &msg) override
unpack action info from the message received by Coordinator
Definition: SBufStatsAction.cc:116
void pack(Ipc::TypedMsgHdr &msg) const override
pack collected action info into a message to be sent to Coordinator
Definition: SBufStatsAction.cc:108
Definition: forward.h:15
Definition: Action.h:25
static StatHist & collectSBufDestructTimeStats()
the SBuf size-at-destruct-time histogram
Definition: SBufStatsAction.cc:27
Definition: Store.h:37
static SizeRecorder MemBlobSizeAtDestructRecorder
collects statistics about MemBlob capacity at MemBlob destruction time
Definition: Stats.h:66
void RegisterAction(char const *action, char const *desc, OBJH *handler, Protected, Atomic, Format)
Definition: Registration.cc:54
void logInit(unsigned int capacity, double min, double max)
Definition: StatHist.cc:221
struct msghdr with a known type, fixed-size I/O and control buffers
Definition: TypedMsgHdr.h:34
static void statHistSBufDumper(StoreEntry *sentry, int, double val, double size, int count)
Definition: SBufStatsAction.cc:84
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products