86#if HAVE_MSTATS && HAVE_GNUMALLOC_H
87 ms_bytes_total += stats.ms_bytes_total;
88 ms_bytes_free += stats.ms_bytes_free;
120 data +=
dynamic_cast<const InfoAction&
>(action).data;
143 Must(entry !=
nullptr);
145#if XMALLOC_STATISTICS
void DumpInfo(Mgr::InfoActionData &stats, StoreEntry *sentry)
void GetInfo(Mgr::InfoActionData &stats)
void DumpMallocStatistics(StoreEntry *sentry)
static void Start(const Pointer &job)
RequestId requestId
matches the request[or] with the response
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
provides Coordinator with a local cache manager response
double client_http_clients
double not_modified_replies60
double request_hit_mem_ratio5
double request_hit_disk_ratio60
double request_hit_mem_ratio60
double request_failure_ratio
double request_hit_ratio60
double avg_client_http_requests
double request_hit_ratio5
double client_http_requests
struct timeval squid_start
double not_modified_replies5
double icp_replies_queued
double request_hit_disk_ratio5
StoreInfoStats store
disk and memory cache statistics
struct timeval current_time
InfoActionData & operator+=(const InfoActionData &stats)
implement aggregated 'info' action
static Pointer Create(const CommandPointer &cmd)
void dump(StoreEntry *entry) override
void respond(const Request &request) override
respond to Coordinator request; default is to collect and sendResponse
void pack(Ipc::TypedMsgHdr &msg) const override
pack collected action info into a message to be sent to Coordinator
InfoAction(const CommandPointer &cmd)
void add(const Action &action) override
incrementally merge in remote information (of the same action type)
void unpack(const Ipc::TypedMsgHdr &msg) override
unpack action info from the message received by Coordinator
void collect() override
calculate and keep local action-specific information
Comm::ConnectionPointer conn
HTTP client connection descriptor.
A const & max(A const &lhs, A const &rhs)
#define debugs(SECTION, LEVEL, CONTENT)
bool IsConnOpen(const Comm::ConnectionPointer &conn)
const Comm::ConnectionPointer & ImportFdIntoComm(const Comm::ConnectionPointer &conn, int socktype, int protocol, FdNoteId noteId)
import socket fd from another strand into our Comm state
void OpenKidSection(StoreEntry *, Format)
void CloseKidSection(StoreEntry *, Format)
#define timercmp(tvp, uvp, cmp)