Various MemBlob class-wide statistics. More...
#include <MemBlob.h>
![Collaboration graph](classMemBlobStats__coll__graph.png)
Public Member Functions | |
std::ostream & | dump (std::ostream &os) const |
dumps class-wide statistics More... | |
MemBlobStats & | operator+= (const MemBlobStats &) |
Public Attributes | |
uint64_t | alloc = 0 |
number of MemBlob instances created so far More... | |
uint64_t | live = 0 |
number of MemBlob instances currently alive More... | |
uint64_t | append = 0 |
number of MemBlob::append() calls More... | |
uint64_t | liveBytes = 0 |
the total size of currently allocated storage More... | |
Detailed Description
Member Function Documentation
◆ dump()
std::ostream & MemBlobStats::dump | ( | std::ostream & | os | ) | const |
Definition at line 33 of file MemBlob.cc.
References alloc, append, live, and liveBytes.
Referenced by SBufStatsAction::dump(), and TestSBuf::testDumpStats().
◆ operator+=()
MemBlobStats & MemBlobStats::operator+= | ( | const MemBlobStats & | s | ) |
Member Data Documentation
◆ alloc
uint64_t MemBlobStats::alloc = 0 |
Definition at line 28 of file MemBlob.h.
Referenced by dump(), and operator+=().
◆ append
uint64_t MemBlobStats::append = 0 |
Definition at line 30 of file MemBlob.h.
Referenced by dump(), and operator+=().
◆ live
uint64_t MemBlobStats::live = 0 |
Definition at line 29 of file MemBlob.h.
Referenced by dump(), SBufStats::dump(), and operator+=().
◆ liveBytes
uint64_t MemBlobStats::liveBytes = 0 |
Definition at line 31 of file MemBlob.h.
Referenced by dump(), and operator+=().
The documentation for this class was generated from the following files:
- src/sbuf/MemBlob.h
- src/sbuf/MemBlob.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