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);
static StatHist & collectMemBlobDestructTimeStats()
the MemBlob size-at-destruct-time histogram
Definition: SBufStatsAction.cc:35
static StatHist * makeDestructTimeHist()
creates a new size-at-destruct-time histogram
Definition: SBufStatsAction.cc:19
static StatHist & collectSBufDestructTimeStats()
the SBuf size-at-destruct-time histogram
Definition: SBufStatsAction.cc:27
static void statHistSBufDumper(StoreEntry *sentry, int, double val, double size, int count)
Definition: SBufStatsAction.cc:84
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
struct msghdr with a known type, fixed-size I/O and control buffers
Definition: TypedMsgHdr.h:35
static const MemBlobStats & GetStats()
obtain a const view of class-wide statistics
Definition: MemBlob.cc:149
Definition: Action.h:25
Definition: PackableStream.h:76
Definition: RefCount.h:28
SBufStatsAction(const Mgr::CommandPointer &cmd)
Definition: SBufStatsAction.cc:55
void add(const Mgr::Action &action) override
incrementally merge in remote information (of the same action type)
Definition: SBufStatsAction.cc:66
void unpack(const Ipc::TypedMsgHdr &msg) override
unpack action info from the message received by Coordinator
Definition: SBufStatsAction.cc:116
static void RegisterWithCacheManager(void)
Definition: SBufStatsAction.cc:124
void pack(Ipc::TypedMsgHdr &msg) const override
pack collected action info into a message to be sent to Coordinator
Definition: SBufStatsAction.cc:108
void collect() override
calculate and keep local action-specific information
Definition: SBufStatsAction.cc:75
static Pointer Create(const Mgr::CommandPointer &cmd)
Mgr::ClassActionCreationHandler for Mgr::RegisterAction()
Definition: SBufStatsAction.cc:60
static SizeRecorder SBufSizeAtDestructRecorder
collects statistics about SBuf sizes at SBuf destruction time
Definition: Stats.h:64
static SizeRecorder MemBlobSizeAtDestructRecorder
collects statistics about MemBlob capacity at MemBlob destruction time
Definition: Stats.h:66
Definition: StatHist.h:26
Definition: Store.h:42
void RegisterAction(char const *action, char const *desc, OBJH *handler, int pw_req_flag, int atomic)
Definition: Registration.cc:16
class Ping::pingStats_ stats
static bool action(int fd, size_t metasize, const char *fn, const char *url, const SquidMetaList &meta)
Definition: purge.cc:315