24 memset(
this, 0,
sizeof(*
this));
30 for (
int i = 0; i < seriesSize; ++i) {
87 Must(entry !=
nullptr);
void GetServiceTimesStats(Mgr::ServiceTimesActionData &stats)
void DumpServiceTimesStats(Mgr::ServiceTimesActionData &stats, StoreEntry *sentry)
struct msghdr with a known type, fixed-size I/O and control buffers
void getPod(Pod &pod) const
load POD
void checkType(int aType) const
void putPod(const Pod &pod)
store POD
void setType(int aType)
sets message type; use MessageType enum
store service times for 5 and 60 min
double dns_lookups60[seriesSize]
double http_requests5[seriesSize]
ServiceTimesActionData & operator+=(const ServiceTimesActionData &stats)
double icp_queries60[seriesSize]
double not_modified_replies5[seriesSize]
double dns_lookups5[seriesSize]
double not_modified_replies60[seriesSize]
double cache_hits5[seriesSize]
double cache_misses60[seriesSize]
double near_hits60[seriesSize]
double icp_queries5[seriesSize]
double near_hits5[seriesSize]
double http_requests60[seriesSize]
double cache_hits60[seriesSize]
double cache_misses5[seriesSize]
implement aggregated 'service_times' action
ServiceTimesAction(const CommandPointer &cmd)
void pack(Ipc::TypedMsgHdr &msg) const override
pack collected action info into a message to be sent to Coordinator
void collect() override
calculate and keep local action-specific information
void unpack(const Ipc::TypedMsgHdr &msg) override
unpack action info from the message received by Coordinator
void add(const Action &action) override
incrementally merge in remote information (of the same action type)
static Pointer Create(const CommandPointer &cmd)
void dump(StoreEntry *entry) override
#define debugs(SECTION, LEVEL, CONTENT)