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 | rfc931 |
the username from ident More... | |
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 45 of file History.h.
Referenced by Adaptation::Icap::ModXact::finalizeLogInfo().
◆ logType
LogTags Adaptation::Icap::History::logType |
Definition at line 43 of file History.h.
Referenced by Adaptation::Icap::ModXact::finalizeLogInfo().
◆ pastTime
|
private |
◆ req_sz
◆ rfc931
String Adaptation::Icap::History::rfc931 |
Definition at line 39 of file History.h.
Referenced by Adaptation::Icap::ModXact::finalizeLogInfo().
◆ ssluser
String Adaptation::Icap::History::ssluser |
Definition at line 41 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