#include "squid.h"#include "base/TextException.h"#include "ipc/Messages.h"#include "ipc/TypedMsgHdr.h"#include "mgr/IntervalAction.h"#include "SquidMath.h"#include "Store.h"#include "tools.h"
Go to the source code of this file.
Functions | |
| void | GetAvgStat (Mgr::IntervalActionData &stats, int minutes, int hours) |
| void | DumpAvgStat (Mgr::IntervalActionData &stats, StoreEntry *sentry) |
Function Documentation
◆ DumpAvgStat()
| void DumpAvgStat | ( | Mgr::IntervalActionData & | stats, |
| StoreEntry * | sentry | ||
| ) |
Definition at line 1001 of file stat.cc.
References Math::doublePercent(), Time::FormatRfc1123(), Ping::stats, and storeAppendPrintf().
Referenced by Mgr::IntervalAction::dump(), and statAvgDump().
◆ GetAvgStat()
| void GetAvgStat | ( | Mgr::IntervalActionData & | stats, |
| int | minutes, | ||
| int | hours | ||
| ) |
Definition at line 865 of file stat.cc.
References StatCounters::allSvcTime, assert, StatCounters::client_http, CountHist, CountHourHist, StatCounters::cputime, DBG_IMPORTANT, debugs, StatCounters::dns, StatCounters::hitSvcTime, StatCounters::icp, StatCounters::missSvcTime, N_COUNT_HIST, N_COUNT_HOUR_HIST, StatCounters::nearHitSvcTime, StatCounters::nearMissSvcTime, StatCounters::querySvcTime, StatCounters::replySvcTime, StatCounters::select_fds, StatCounters::select_fds_hist, StatCounters::select_time, server, statHistDeltaMedian(), Ping::stats, StatCounters::svcTime, StatCounters::timestamp, tvSubDsec(), and XAVG.
Referenced by Mgr::IntervalAction::collect(), and statAvgDump().
