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