CountersAction.cc File Reference
#include "squid.h"
#include "base/TextException.h"
#include "ipc/Messages.h"
#include "ipc/TypedMsgHdr.h"
#include "mgr/CountersAction.h"
#include "Store.h"
#include "tools.h"
Include dependency graph for CountersAction.cc:

Go to the source code of this file.

Functions

void GetCountersStats (Mgr::CountersActionData &stats)
 
void DumpCountersStats (Mgr::CountersActionData &stats, StoreEntry *sentry)
 

Function Documentation

◆ DumpCountersStats()

void DumpCountersStats ( Mgr::CountersActionData stats,
StoreEntry sentry 
)

Definition at line 1438 of file stat.cc.

References Time::FormatRfc1123(), Ping::stats, and storeAppendPrintf().

Referenced by Mgr::CountersAction::dump(), and statCountersDump().

◆ GetCountersStats()

void GetCountersStats ( Mgr::CountersActionData stats)

Definition at line 1356 of file stat.cc.

References StatCounters::aborted_requests, StatCounters::all, StatCounters::attempts, StatCounters::cd, StatCounters::client_http, StatCounters::cputime, current_time, StatCounters::errors, StatCounters::failures, StatCounters::files_cleaned, StatCounters::ftp, StatCounters::hit_kbytes_out, StatCounters::hits, StatCounters::hitValidation, StatCounters::http, StatCounters::icp, StatCounters::ins, ByteCounter::kb, StatCounters::kbytes_in, StatCounters::kbytes_out, StatCounters::kbytes_recv, StatCounters::kbytes_sent, CacheDigest::mask_size, StatCounters::memory, StatCounters::msgs_recv, StatCounters::msgs_sent, StatCounters::other, StatCounters::outs, StatCounters::page_faults, StatCounters::pkts_recv, StatCounters::pkts_sent, StatCounters::q_kbytes_recv, StatCounters::q_kbytes_sent, StatCounters::queries_recv, StatCounters::queries_sent, StatCounters::query_timeouts, StatCounters::r_kbytes_recv, StatCounters::r_kbytes_sent, StatCounters::refusalsDueToLocking, StatCounters::refusalsDueToTimeLimit, StatCounters::refusalsDueToZeroSize, StatCounters::replies_queued, StatCounters::replies_recv, StatCounters::replies_sent, StatCounters::requests, rusage_cputime(), rusage_pagefaults(), StatCounters::select_loops, StatCounters::server, squid_getrusage(), statCounter, Ping::stats, store_digest, StatCounters::swap, StatCounters::times_used, StatCounters::timestamp, tvSubDsec(), and StatCounters::unlink.

Referenced by Mgr::CountersAction::collect(), and statCountersDump().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors