collects information about ICAP processing related to an HTTP transaction More...
#include <History.h>


Public Types | |
typedef RefCount< History > | Pointer |
Public Member Functions | |
History () | |
void | start (const char *context) |
record the start of an ICAP processing interval More... | |
void | stop (const char *context) |
note the end of an ICAP processing interval More... | |
void | processingTime (struct timeval &total) const |
Public Attributes | |
String | ssluser |
the username from SSL More... | |
LogTags | logType |
the squid request status (TCP_MISS etc) More... | |
String | log_uri |
the request uri More... | |
size_t | req_sz |
the request size More... | |
Private Member Functions | |
void | currentTime (struct timeval &) const |
time since current start or zero More... | |
Private Attributes | |
timeval | currentStart |
when the current processing interval started More... | |
struct timeval | pastTime |
sum of closed processing interval durations More... | |
int | concurrencyLevel |
number of concurrent processing threads More... | |
Detailed Description
Member Typedef Documentation
◆ Pointer
Constructor & Destructor Documentation
◆ History()
Adaptation::Icap::History::History | ( | ) |
Definition at line 15 of file History.cc.
References currentStart, and pastTime.
Member Function Documentation
◆ currentTime()
|
private |
Definition at line 57 of file History.cc.
References current_time, and tvSub().
◆ processingTime()
void Adaptation::Icap::History::processingTime | ( | struct timeval & | total | ) | const |
the total time of all ICAP processing intervals
- Parameters
-
[out] total time taken for all ICAP processing
Definition at line 49 of file History.cc.
References debugs, tvAssignAdd(), and tvToMsec().
◆ start()
void Adaptation::Icap::History::start | ( | const char * | context | ) |
Definition at line 23 of file History.cc.
References current_time, debugs, and tvToMsec().
Referenced by Adaptation::Icap::ModXactLauncher::updateHistory().
◆ stop()
void Adaptation::Icap::History::stop | ( | const char * | context | ) |
Definition at line 32 of file History.cc.
References DBG_IMPORTANT, debugs, tvAssignAdd(), and tvToMsec().
Referenced by Adaptation::Icap::ModXactLauncher::updateHistory().
Member Data Documentation
◆ concurrencyLevel
◆ currentStart
|
private |
◆ log_uri
String Adaptation::Icap::History::log_uri |
Definition at line 44 of file History.h.
Referenced by Adaptation::Icap::ModXact::finalizeLogInfo().
◆ logType
LogTags Adaptation::Icap::History::logType |
Definition at line 42 of file History.h.
Referenced by Adaptation::Icap::ModXact::finalizeLogInfo().
◆ pastTime
|
private |
◆ req_sz
◆ ssluser
String Adaptation::Icap::History::ssluser |
Definition at line 40 of file History.h.
Referenced by Adaptation::Icap::ModXact::finalizeLogInfo().
The documentation for this class was generated from the following files:
- src/adaptation/icap/History.h
- src/adaptation/icap/History.cc
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products